Skip to content

Fine grained mention system customizations #5667

Open
@fgirardey

Description

@fgirardey

I need to implement a feature where users can mention other users by their name OR by their role (example: @Developer)

As of today, when the MessageComposerController build a message before sending it, it will build the mentionedUsersIds list by looking for @${it.name.lowercase()}, see: MessageComposerController.filterMentions().

But i didn't found a way to override this behavior. Of course i could override the various onSendMessage composable methods but it doesn't seem to be reliable because the message send action could be sent through various composable, especially when I only use screen level composables and only customize what i need through the ChatComponentFactory.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions