clearMentionIfNeed method
void
clearMentionIfNeed()
Implementation
void clearMentionIfNeed() {
if (profile.type == ChatUIKitProfileType.group) {
ChatUIKit.instance
.getConversation(
conversationId: profile.id,
type: ConversationType.GroupChat,
)
.then((conv) {
if (conv != null) {
conv.removeMention();
}
});
}
}