mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 21:26:57 +02:00
Event timeline: Moves all pagination API from MXRoom to MXEventTimeline
This commit is contained in:
@@ -1074,7 +1074,7 @@
|
||||
// Remove the previous live listener
|
||||
if (typingNotifListener)
|
||||
{
|
||||
[self.roomDataSource.room.liveTimeLine removeListener:typingNotifListener];
|
||||
[self.roomDataSource.room.liveTimeline removeListener:typingNotifListener];
|
||||
currentTypingUsers = nil;
|
||||
}
|
||||
}
|
||||
@@ -1085,7 +1085,7 @@
|
||||
if (self.roomDataSource)
|
||||
{
|
||||
// Add typing notification listener
|
||||
typingNotifListener = [self.roomDataSource.room.liveTimeLine listenToEventsOfTypes:@[kMXEventTypeStringTypingNotification] onEvent:^(MXEvent *event, MXEventDirection direction, MXRoomState *roomState) {
|
||||
typingNotifListener = [self.roomDataSource.room.liveTimeline listenToEventsOfTypes:@[kMXEventTypeStringTypingNotification] onEvent:^(MXEvent *event, MXEventDirection direction, MXRoomState *roomState) {
|
||||
|
||||
// Handle only live events
|
||||
if (direction == MXEventDirectionForwards)
|
||||
|
||||
Reference in New Issue
Block a user