Renamed MXEventDirection* to MXTimelineDirection because of https://github.com/matrix-org/matrix-ios-sdk/pull/80

This commit is contained in:
manuroe
2016-02-26 17:08:53 +01:00
parent 7611fc12a2
commit 48ba653b85
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -1122,10 +1122,10 @@
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, MXTimelineDirection direction, MXRoomState *roomState) {
// Handle only live events
if (direction == MXEventDirectionForwards)
if (direction == MXTimelineDirectionForwards)
{
// Retrieve typing users list
NSMutableArray *typingUsers = [NSMutableArray arrayWithArray:self.roomDataSource.room.typingUsers];