Skip to content

SDK producing invalid mentions #2340

@krille-chan

Description

@krille-chan

Bug Description

produces m.mentions like the following

"m.mentions": {
      "user_ids": [
        "@redacted:matrix.org:"
      ]
},

Steps to Reproduce

when you mention someone with a symbol directly after it like “:” or smth

Expected Behavior

it should strip that and produce valid mentions

App Version

2.5.1

Platform

Android (F-Droid)

Additional Platform Information

Android

Additional Context

(btw element x refuses to render these messages, which is silly, but the mention do be invalid or at least silly)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions