Fix banners not live-updating
This commit is contained in:
@@ -9,6 +9,7 @@ ColumnLayout {
|
||||
readonly property var roomInfo:
|
||||
Backend.models.rooms.get(userId).getWhere("roomId", roomId)
|
||||
|
||||
|
||||
id: chatPage
|
||||
spacing: 0
|
||||
onFocusChanged: sendBox.setFocus()
|
||||
|
@@ -156,8 +156,6 @@ function getLeftBannerText(leftEvent) {
|
||||
return "You are not member of this room."
|
||||
}
|
||||
|
||||
console.log(JSON.stringify(leftEvent, null, 4))
|
||||
|
||||
var info = leftEvent.content
|
||||
var prev = leftEvent.prev_content
|
||||
var reason = info.reason ? (" Reason: " + info.reason) : ""
|
||||
|
Reference in New Issue
Block a user