Add logging around profile key rotation.

This commit is contained in:
Matthew Chen 2021-03-03 10:09:19 -03:00
parent dab3994b3a
commit 54bbc64e0b

View File

@ -271,6 +271,8 @@ class GroupsV2ProfileKeyUpdater {
}.then(on: .global()) { (groupThread: TSGroupThread, checkedRevision: UInt32) throws -> Promise<Void> in
if DebugFlags.internalLogging {
Logger.info("Updating profile key for group: \(groupThread.groupId.hexadecimalString), profileKey: \(profileKeyData.hexadecimalString), localUuid: \(localUuid)")
} else {
Logger.info("Updating profile key for group.")
}
return firstly {