Fix emote events (/me) display name display
This commit is contained in:
parent
5dca7d0a35
commit
b12e38f41b
|
@ -347,8 +347,7 @@ Rectangle {
|
||||||
}
|
}
|
||||||
|
|
||||||
function renderEventAsOneLine(event) {
|
function renderEventAsOneLine(event) {
|
||||||
return (
|
return event.event_type === "RoomMessageEmote" || (
|
||||||
event.event_type !== "RoomMessageEmote" &&
|
|
||||||
! event.event_type.startsWith("RoomMessage") &&
|
! event.event_type.startsWith("RoomMessage") &&
|
||||||
! event.event_type.startsWith("RoomEncrypted")
|
! event.event_type.startsWith("RoomEncrypted")
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user