mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 02:39:55 +01:00
Add default chat folders in backups.
This commit is contained in:
committed by
Greyson Parrelli
parent
1ff6169795
commit
9a0ebb5028
@@ -487,6 +487,9 @@ object BackupRepository {
|
||||
SignalDatabase.recipients.setProfileKey(selfId, selfData.profileKey)
|
||||
SignalDatabase.recipients.setProfileSharing(selfId, true)
|
||||
|
||||
// Add back default All Chats chat folder after clearing data
|
||||
SignalDatabase.chatFolders.insertAllChatFolder()
|
||||
|
||||
val importState = ImportState(backupKey)
|
||||
val chatItemInserter: ChatItemArchiveImporter = ChatItemArchiveProcessor.beginImport(importState)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user