mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Threads: added support to read receipts (MSC3771)
- Update after review
This commit is contained in:
@@ -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!,
|
||||
|
||||
Reference in New Issue
Block a user