Skip to content

Mentioned by reply to message that mentioned me #27291

@Kladki

Description

@Kladki

Steps to reproduce

  1. Send a message that mentions a user
  2. Reply to that message
  3. Reply to the previous reply
  4. Reply to the previous reply

and so on...

Outcome

What did you expect?

I expected I would only be mentioned by the message that actually mentioned me, as I do not want to be constantly mentioned in messages that may have nothing to do with me
It also isn't clear why I am mentioned in this case, because there is no visible indicator of my name or anything by the second reply, and it seems that many don't expect/are unaware of this behavior.

What happened instead?

I am mentioned by all messages that recursively reply to a message that mentions me.

You can see in the raw json in all recursive messages I am mentioned intentionally:

{
  "content": {
    "body": "> <@root:conduit-test-server.ahouansou.cz> hi\n\nhi",
    "format": "org.matrix.custom.html",
    "formatted_body": "<mx-reply><blockquote><a href=\"https://matrix.to/#/!kzWXGdAbtsmxSbwkNg:synapse-test-server.ahouansou.cz/$gmY2TB1LRa0D4b2muCtW51D5fl--Noxh_TE8ltJ6J18?via=ahouansou.cz&via=conduit-test-server.ahouansou.cz&via=synapse-test-server.ahouansou.cz\">In reply to</a> <a href=\"https://matrix.to/#/@root:conduit-test-server.ahouansou.cz\">@root:conduit-test-server.ahouansou.cz</a><br>hi</blockquote></mx-reply>hi",
    "m.mentions": {
      "user_ids": [
        "@matthias:ahouansou.cz"
      ]
    },
    "m.relates_to": {
      "m.in_reply_to": {
        "event_id": "$gmY2TB1LRa0D4b2muCtW51D5fl--Noxh_TE8ltJ6J18"
      }
    },
    "msgtype": "m.text"
  },
  "event_id": "$xVaz4XYilJOGx9yFcR0KJrM0Q_4_vjv1wMUMUHVo7g8",
  "origin_server_ts": 1712509186956,
  "sender": "@root:conduit-test-server.ahouansou.cz",
  "type": "m.room.message",
  "unsigned": {
    "age": 1
  },
  "room_id": "!kzWXGdAbtsmxSbwkNg:synapse-test-server.ahouansou.cz"
}

Operating system

Alpine Linux Edge

Application version

Element version: 1.11.63 Crypto version: Rust SDK 0.7.0 (b1918e9), Vodozemac 0.5.1

How did you install the app?

Alpine linux package manger (apk): https://pkgs.alpinelinux.org/packages?name=element-desktop

Homeserver

Conduit 0.7.0-alpha (2c73c3ad)

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RepliesreplyO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectX-Needs-ProductMore input needed from the Product team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions