Presence: Renaming to look more like js sdk: MXUser.isCurrentlyActive -> MXUser.currentlyActive

This commit is contained in:
manuroe
2016-04-29 13:49:29 +02:00
parent 64d93e36b2
commit 36a810ada5
2 changed files with 4 additions and 4 deletions
@@ -464,7 +464,7 @@
return NSOrderedDescending;
}
if (userA.isCurrentlyActive && userB.isCurrentlyActive)
if (userA.currentlyActive && userB.currentlyActive)
{
// Order first by power levels (admins then moderators then others)
MXRoomPowerLevels *powerLevels = [self.mxRoom.state powerLevels];
@@ -495,11 +495,11 @@
}
if (userA.isCurrentlyActive && !userB.isCurrentlyActive)
if (userA.currentlyActive && !userB.currentlyActive)
{
return NSOrderedAscending;
}
if (!userA.isCurrentlyActive && userB.isCurrentlyActive)
if (!userA.currentlyActive && userB.currentlyActive)
{
return NSOrderedDescending;
}