mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-21 13:31:30 +00:00
Fix crash
This commit is contained in:
parent
790404912c
commit
b5709473d7
@ -615,9 +615,11 @@ public class ApplicationContext extends MultiDexApplication implements Dependenc
|
|||||||
}
|
}
|
||||||
Set<String> servers = DatabaseFactory.getLokiThreadDatabase(this).getAllPublicChatServers();
|
Set<String> servers = DatabaseFactory.getLokiThreadDatabase(this).getAllPublicChatServers();
|
||||||
for (String server : servers) {
|
for (String server : servers) {
|
||||||
|
if (profileKey != null) {
|
||||||
publicChatAPI.setProfilePicture(server, profileKey, url);
|
publicChatAPI.setProfilePicture(server, profileKey, url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// endregion
|
// endregion
|
||||||
|
Loading…
x
Reference in New Issue
Block a user