Threads: added support to read receipts (MSC3771)

- Update after review
This commit is contained in:
Gil Eluard
2022-11-02 15:23:54 +01:00
parent 3b8090747c
commit 7f0b88ab2b
2 changed files with 3 additions and 17 deletions
@@ -27,6 +27,8 @@ public class ThreadDataSource: RoomDataSource {
public override func finalizeInitialization() {
super.finalizeInitialization()
showReadMarker = true
showBubbleReceipts = true
showTypingRow = false
NotificationCenter.default.addObserver(self,
@@ -40,22 +42,6 @@ public class ThreadDataSource: RoomDataSource {
object: nil)
}
public override var showReadMarker: Bool {
get {
return true
} set {
_ = newValue
}
}
public override var showBubbleReceipts: Bool {
get {
return true
} set {
_ = newValue
}
}
public override class func load(withRoomId roomId: String!,
initialEventId: String!,
threadId: String!,