1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 18:29:45 +02:00

[openpgp] Remove INFO log sites

INFO log sites should be used sparingly and carefully. Those are a
good examples for an unnecessary INFO log sites.
This commit is contained in:
Florian Schmaus 2021-05-02 18:41:57 +02:00
parent aa49743ef8
commit 64db6e3ebc
3 changed files with 0 additions and 6 deletions

View file

@ -162,7 +162,6 @@ public class PainlessOpenPgpProvider implements OpenPgpProvider {
PGPPublicKeyRingCollection announcedPublicKeys = sender.getAnnouncedPublicKeys();
if (announcedPublicKeys == null) {
LOGGER.log(Level.INFO, "Received a message from " + sender.getJid() + " but we have no keys yet. Try fetching them.");
try {
sender.updateKeys(connection);
announcedPublicKeys = sender.getAnnouncedPublicKeys();