-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"@room" tags do not render anymore #26719
Comments
I submitted logs |
I cannot see any logs from you. |
Mine was on the latest app.element.io is that what you’re using?
…On Tue, Dec 12, 2023 at 6:38 AM Michael Telatynski ***@***.***> wrote:
image.png (view on web)
<https://github.com/element-hq/element-web/assets/2403652/7ec4f6a0-22b0-4f30-9fe1-f17bde778b41>
I cannot reproduce it
—
Reply to this email directly, view it on GitHub
<#26719 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWNJYMBTYSADUYBKERJVHFDYJCCAJAVCNFSM6AAAAABANDM27KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJSGQYDGNRRGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Here is the json for one such event: {
"room_id": "[[redacted]]:matrix.org",
"type": "m.room.message",
"content": {
"msgtype": "m.text",
"body": "@room ",
"m.mentions": {
"room": true
}
}
} |
I was using Element Nightly |
I can repro on https://develop.element.io after a F5:
Source of those Events: {
"content": {
"body": "@room sent from ea",
"msgtype": "m.text"
},
"origin_server_ts": 1703063474104,
"sender": "@benoit.marty:matrix.org",
"type": "m.room.message",
"unsigned": {
"age": 420586
},
"event_id": "$XXX",
"room_id": "!XXX:matrix.org"
} {
"content": {
"body": "@room sent from Web",
"m.mentions": {
"room": true
},
"msgtype": "m.text"
},
"origin_server_ts": 1703063486340,
"sender": "@benoit.marty:matrix.org",
"type": "m.room.message",
"unsigned": {
"age": 408399,
"transaction_id": "m1703063486241.669"
},
"event_id": "$XXX",
"room_id": "!XXX:matrix.org"
} So the regression is probably related to the new |
This problem still persists. Join a room at https://develop.element.io/ or https://app.element.io/ and send a mention with @room. You will see that it does not work. @t3chguy Microsoft Edge OS: Windows 11 |
@devosonder when you join a room you won't have sufficient permissions to send those. They require you to be a moderator or above by default. |
my role is manager. |
We can also reproduce this on element web latest version and by testing past versions it seems this started on 1.11.44 |
Regressed by matrix-org/matrix-react-sdk#11602 |
Steps to reproduce
The "@room" tag, messaging everyone in the room, no longer shows up as a "tag" for me in Browser Element. It is just the word "@room". I believe this is a bug because it is a regression (it used to work, as recently as 2 months ago) and because in other clients the same "@room" instances show up as a tag.
Outcome
What did you expect?
I expect that if someone has room-notify permissions "@room" will appear in a special way, such as in an oval, to show it is a mention. I expect that if someone does NOT have these permissions, it will show up as just the text "@room". Thus, to me "@room" rendering special or not is an important signal because it shows whether or not the notify-all worked¹.
So for example this is what a friend of mine sees in Element for Linux (Flatpak, Element version: 1.11.50, Olm 3.2.15). This is my "expected behavior".
When I look in the Element Android client I see essentially the same.
What happened instead?
This is what I see in browser:
This screenshot was taken on the same account as the Android version which worked. Reloading the page did not change the appearance.
¹ It was a little inconvenient, I moderate a bimonthly meeting where I need to announce the beginning by typing "@room", it didn't seem to do anything, so while trying to ask others if it was working I typed "@room" several more times and now I think I was spamming people with messages.
Note: In the interest of not spamming the Github user named "Room" I have inserted zero-width spaces into all instances of "@room" in this message.
Operating system
Windows 10 with Chrome 119.0.6045.159 AND Linux Ubuntu 23.10 with Firefox 119.0 Snap
Browser information
URL for webapp
https://app.element.io/
Application version
Element version: 1.11.51 Crypto version: Olm 3.2.15
Homeserver
:matrix.org . I am uncertain how to tell what server a particular "room" is hosted on.
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: