fix: update color of usernames & boldness of usernames on the fly (#5300)
This commit is contained in:
@@ -756,9 +756,7 @@ void MessageLayoutContainer::reorderRTL(int firstTextIndex)
|
||||
|
||||
const auto neutral = isNeutral(element->getText());
|
||||
const auto neutralOrUsername =
|
||||
neutral ||
|
||||
element->getFlags().hasAny({MessageElementFlag::BoldUsername,
|
||||
MessageElementFlag::NonBoldUsername});
|
||||
neutral || element->getFlags().has(MessageElementFlag::Mention);
|
||||
|
||||
if (neutral &&
|
||||
((this->first == FirstWord::RTL && !this->wasPrevReversed_) ||
|
||||
|
||||
Reference in New Issue
Block a user