Ignore set profile failure if libzkgroup is missing

Fixes #709
This commit is contained in:
AsamK 2021-09-08 20:09:22 +02:00
parent 656ca6b5e4
commit 537b704951

View file

@ -184,7 +184,11 @@ public class RegistrationManager implements Closeable {
m.refreshPreKeys(); m.refreshPreKeys();
// Set an initial empty profile so user can be added to groups // Set an initial empty profile so user can be added to groups
try {
m.setProfile(null, null, null, null, null); m.setProfile(null, null, null, null, null);
} catch (NoClassDefFoundError e) {
logger.warn("Failed to set default profile: {}", e.getMessage());
}
if (response.isStorageCapable()) { if (response.isStorageCapable()) {
m.retrieveRemoteStorage(); m.retrieveRemoteStorage();
} }