Skip to content

"m.mentions"."user_ids" seems to cut server part when special symbol exists #31924

@alexander-potemkin

Description

@alexander-potemkin

Steps to reproduce

  1. Send message from Element Desktop (ED), mentioning some users.
  2. Edit it from ED.
  3. ED will generate incorrect user logins in m.mentions - just the @user - missing server part (including : and following) if user id is in the following format: @user/department:company.co

Outcome

What did you expect?

I would expect proper full user id's, as otherwise Element X can't process it - see element-hq/element-x-ios#5010 (comment)

What happened instead?

only @user part ended up in that part.

Operating system

Any

Application version

Element version: 1.12.8 Crypto version: Rust SDK 0.16.0 (8471012), Vodozemac 0.9.0

How did you install the app?

Official site

Homeserver

No response

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Extensible-EventsIssues with the rendering or handling of MSC1767+friends Extensible EventsO-FrequentAffects or can be seen by most users regularly or impacts most users' first experienceO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions