Fixed restricted users' usernames not being clickable (#5405)
This commit is contained in:
@@ -763,7 +763,7 @@ void MessageBuilder::addTextOrEmoji(const QString &string_)
|
||||
auto &&textColor = this->textColor_;
|
||||
if (string.startsWith('@'))
|
||||
{
|
||||
this->emplace<MentionElement>(string, textColor, textColor);
|
||||
this->emplace<MentionElement>(string, "", textColor, textColor);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user