mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Recents: Recognise server notices room(s) and put them in the dedicated section
https://github.com/vector-im/riot-ios/issues/1937
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
|
||||
if (_hideRecents)
|
||||
{
|
||||
self.invitesSection = self.favoritesSection = self.peopleSection = self.conversationSection = self.lowPrioritySection = -1;
|
||||
self.invitesSection = self.favoritesSection = self.peopleSection = self.conversationSection = self.lowPrioritySection = self.serverNoticeSection = -1;
|
||||
sectionsCount = sectionsOffset;
|
||||
}
|
||||
else
|
||||
@@ -114,6 +114,10 @@
|
||||
{
|
||||
self.lowPrioritySection += sectionsOffset;
|
||||
}
|
||||
if (self.serverNoticeSection != -1)
|
||||
{
|
||||
self.serverNoticeSection += sectionsOffset;
|
||||
}
|
||||
sectionsCount += sectionsOffset;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user