mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 05:36:57 +02:00
Presence: Renaming to look more like js sdk: MXUser.isCurrentlyActive -> MXUser.currentlyActive
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user