This commit is contained in:
fourtf 2018-04-06 18:05:30 +02:00
parent 0322c73eb5
commit fffe9c93c4

View file

@ -110,9 +110,8 @@ void MessageLayoutContainer::breakLine()
for (size_t i = lineStart; i < this->elements.size(); i++) {
MessageLayoutElement *element = this->elements.at(i).get();
bool isCompactEmote =
!(this->flags & Message::DisableCompactEmotes) &&
(this->flags & element->getCreator().getFlags()) & MessageElement::EmoteImages;
bool isCompactEmote = !(this->flags & Message::DisableCompactEmotes) &&
element->getCreator().getFlags() & MessageElement::EmoteImages;
int yExtra = 0;
if (isCompactEmote) {