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
@@ -130,10 +130,10 @@
{
// Register the room tags updates to refresh the favorites order
id roomTagsListener = [self.mxSession listenToEventsOfTypes:@[kMXEventTypeStringRoomTag]
onEvent:^(MXEvent *event, MXEventDirection direction, id customObject) {
onEvent:^(MXEvent *event, MXTimelineDirection direction, id customObject) {
// Consider only live event
if (direction == MXEventDirectionForwards)
if (direction == MXTimelineDirectionForwards)
{
dispatch_async(dispatch_get_main_queue(), ^{