Skip to content

New channel wildcard mentions are rendered as "unimplemented" #1064

Closed
@sm-sayedi

Description

@sm-sayedi

While working on #889, I realized that the channel wildcard mentions (@all, @everyone, @channel, @stream) are rendered as "unimplemented". This behavior is only for newer messages (after #31075 is merged in zulip), the older messages with these wildcard mentions are rendered correctly. This is how the HTML text for older and newer messages looks like:

// older messages
<span class="user-mention" data-user-id="*">@all</span>

// newer messages
<span class="user-mention channel-wildcard-mention" data-user-id="*">@all</span>

There seems to have been an additional class (channel-wildcard-mention) added. So, I think we have to support both the previous format and the current one.

Metadata

Metadata

Assignees

Labels

a-contentParsing and rendering Zulip HTML content, notably message contents

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions