From ffe10e95149d90ebb8d9ae49644039bf741ca57b Mon Sep 17 00:00:00 2001 From: Black Hat Date: Fri, 7 Sep 2018 12:26:09 +0800 Subject: [PATCH] Display unknown event. --- qml/form/RoomForm.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/qml/form/RoomForm.qml b/qml/form/RoomForm.qml index 3f445e5..91741e8 100644 --- a/qml/form/RoomForm.qml +++ b/qml/form/RoomForm.qml @@ -182,6 +182,16 @@ Item { visible: eventType === "emote" || eventType === "state" } + + Label { + Layout.alignment: Qt.AlignHCenter + + visible: eventType === "other" + + text: display + color: "grey" + font.italic: true + } } ScrollBar.vertical: messageListViewScrollBar