mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
feat: disable room retention feature (MESSENGER-6076)
This commit is contained in:
@@ -178,7 +178,8 @@ const CGFloat kTypingCellHeight = 24;
|
||||
|
||||
if (delegate && self.isLive)
|
||||
{
|
||||
if (self.room)
|
||||
// BWI: #6076 the retention should be handled by the server, it is not necessary to filter messages locally on room level
|
||||
if (self.room && BWIBuildSettings.shared.enableRoomRetention)
|
||||
{
|
||||
// Remove the potential expired messages from the store
|
||||
if ([self.room.summary removeExpiredRoomContentsFromStore])
|
||||
|
||||
Reference in New Issue
Block a user