Skip to content

Mention at message start isn't formatted correctly.  #11392

@lennartgrunau

Description

@lennartgrunau

Description:

When mentioning a User in a room and the @username is the start of the message, it isn't being converted to the Name in bold and blue.

Steps to reproduce:

  1. Join Room
  2. Write message like @lennart.grunau How are you
  3. Send message.

Expected behavior:

@lennart.grunau is formatted as Lennart Grunau in blue.

Actual behavior:

@lennart.grunau isn't being formatted at all.

bildschirmfoto 2018-07-09 um 09 47 55

Server Setup Information:

  • Version of Rocket.Chat Server: 0.66.2
  • Operating System: Ubuntu 16.04 LTS
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: Shipped with 0.66.2 snap
  • MongoDB Version: Shipped with 0.66.2 snap

Additional context

The mention itself is fully functional but it isn't formatted.

Relevant logs:

No relevant logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions