Fixed restricted users' usernames not being clickable (#5405)

This commit is contained in:
pajlada
2024-06-01 13:07:01 +02:00
committed by GitHub
parent 65bfec963b
commit 2a46ee708e
5 changed files with 55 additions and 27 deletions
+1 -1
View File
@@ -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
{