Threads: added support to read receipts (MSC3771)

This commit is contained in:
Gil Eluard
2022-10-24 22:27:13 +02:00
parent 166e06bd26
commit 5eb1b39345
6 changed files with 30 additions and 12 deletions
@@ -27,8 +27,8 @@ public class ThreadDataSource: RoomDataSource {
public override func finalizeInitialization() {
super.finalizeInitialization()
showReadMarker = false
showBubbleReceipts = false
showReadMarker = true
showBubbleReceipts = true
showTypingRow = false
NotificationCenter.default.addObserver(self,
@@ -44,7 +44,7 @@ public class ThreadDataSource: RoomDataSource {
public override var showReadMarker: Bool {
get {
return false
return true
} set {
_ = newValue
}
@@ -52,7 +52,7 @@ public class ThreadDataSource: RoomDataSource {
public override var showBubbleReceipts: Bool {
get {
return false
return true
} set {
_ = newValue
}