1 files changed, 6 insertions, 1 deletions
diff --git a/resources/qml/TopBar.qml b/resources/qml/TopBar.qml
index 20eff7f3..c9d26019 100644
--- a/resources/qml/TopBar.qml
+++ b/resources/qml/TopBar.qml
@@ -271,7 +271,12 @@ Pane {
height: implicitHeight
Reply {
- property var e: room ? room.getDump(modelData, "") : {}
+ id: reply
+ property var e: room ? room.getDump(modelData, "pins") : {}
+ Connections {
+ function onPinnedMessagesChanged() { reply.e = room.getDump(modelData, "pins") }
+ target: room
+ }
Layout.fillWidth: true
Layout.preferredHeight: height
|