Add recipient id to logging

This commit is contained in:
AsamK 2022-01-22 16:55:35 +01:00
parent 80befec589
commit 9439de1c15

View file

@ -145,7 +145,7 @@ public class ManagerImpl implements Manager {
} }
}); });
disposable.add(account.getIdentityKeyStore().getIdentityChanges().subscribe(recipientId -> { disposable.add(account.getIdentityKeyStore().getIdentityChanges().subscribe(recipientId -> {
logger.trace("Archiving old sessions"); logger.trace("Archiving old sessions for {}", recipientId);
account.getSessionStore().archiveSessions(recipientId); account.getSessionStore().archiveSessions(recipientId);
account.getSenderKeyStore().deleteSharedWith(recipientId); account.getSenderKeyStore().deleteSharedWith(recipientId);
final var profile = account.getRecipientStore().getProfile(recipientId); final var profile = account.getRecipientStore().getProfile(recipientId);