Test filters context map & message builder (#4886)
This commit is contained in:
@@ -72,7 +72,8 @@ namespace detail {
|
||||
else
|
||||
{
|
||||
this->durationOffset_ = std::min<int>(
|
||||
int(getApp()->emotes->gifTimer.position() % totalLength),
|
||||
int(getIApp()->getEmotes()->getGIFTimer().position() %
|
||||
totalLength),
|
||||
60000);
|
||||
}
|
||||
this->processOffset();
|
||||
|
||||
@@ -229,8 +229,6 @@ void SharedMessageBuilder::triggerHighlights()
|
||||
QString SharedMessageBuilder::stylizeUsername(const QString &username,
|
||||
const Message &message)
|
||||
{
|
||||
auto app = getApp();
|
||||
|
||||
const QString &localizedName = message.localizedName;
|
||||
bool hasLocalizedName = !localizedName.isEmpty();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user