From 469992b65060602a7957d717c1055a81d8188cf7 Mon Sep 17 00:00:00 2001 From: miruka Date: Mon, 23 Mar 2020 16:10:13 -0400 Subject: [PATCH] Fix avatar size for one line events like m.emote --- src/gui/Pages/Chat/Timeline/EventDelegate.qml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/gui/Pages/Chat/Timeline/EventDelegate.qml b/src/gui/Pages/Chat/Timeline/EventDelegate.qml index c0683fed..d0139dd8 100644 --- a/src/gui/Pages/Chat/Timeline/EventDelegate.qml +++ b/src/gui/Pages/Chat/Timeline/EventDelegate.qml @@ -27,14 +27,7 @@ HColumnLayout { property bool talkBreak: eventList.canTalkBreak(previousModel, model) property bool dayBreak: eventList.canDayBreak(previousModel, model) - readonly property bool smallAvatar: - compact || ( - eventList.canCombine(model, nextModel) && - (model.event_type === "RoomMessageEmote" || - ! (model.event_type.startsWith("RoomMessage") || - model.event_type.startsWith("RoomEncrypted"))) - ) - + readonly property bool smallAvatar: compact readonly property bool collapseAvatar: combine readonly property bool hideAvatar: onRight