Update to latest Backup.proto and fix various backup bugs.

This commit is contained in:
Greyson Parrelli
2024-08-09 16:04:47 -04:00
committed by mtang-signal
parent e2e6a73e8d
commit 5ffb7b07da
31 changed files with 761 additions and 2182 deletions

View File

@@ -16,11 +16,12 @@ import org.whispersystems.signalservice.internal.configuration.SignalServiceConf
* Helper method to create a ChatService with optional credentials.
*/
fun Network.createChatService(
credentialsProvider: CredentialsProvider? = null
credentialsProvider: CredentialsProvider? = null,
receiveStories: Boolean
): ChatService {
val username = credentialsProvider?.username ?: ""
val password = credentialsProvider?.password ?: ""
return this.createChatService(username, password)
return this.createChatService(username, password, receiveStories)
}
/**