Fix avatar size for one line events like m.emote
This commit is contained in:
parent
6f1d7ece54
commit
469992b650
|
@ -27,14 +27,7 @@ HColumnLayout {
|
||||||
property bool talkBreak: eventList.canTalkBreak(previousModel, model)
|
property bool talkBreak: eventList.canTalkBreak(previousModel, model)
|
||||||
property bool dayBreak: eventList.canDayBreak(previousModel, model)
|
property bool dayBreak: eventList.canDayBreak(previousModel, model)
|
||||||
|
|
||||||
readonly property bool smallAvatar:
|
readonly property bool smallAvatar: compact
|
||||||
compact || (
|
|
||||||
eventList.canCombine(model, nextModel) &&
|
|
||||||
(model.event_type === "RoomMessageEmote" ||
|
|
||||||
! (model.event_type.startsWith("RoomMessage") ||
|
|
||||||
model.event_type.startsWith("RoomEncrypted")))
|
|
||||||
)
|
|
||||||
|
|
||||||
readonly property bool collapseAvatar: combine
|
readonly property bool collapseAvatar: combine
|
||||||
readonly property bool hideAvatar: onRight
|
readonly property bool hideAvatar: onRight
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user