mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-26 01:09:13 -05:00
some more NPE checks
This commit is contained in:
parent
55c1129a65
commit
15f220747f
@ -72,7 +72,7 @@ public class AxolotlService implements OnAdvancedStreamFeaturesLoaded {
|
||||
|
||||
@Override
|
||||
public void onAdvancedStreamFeaturesAvailable(Account account) {
|
||||
if (account.getXmppConnection().getFeatures().pep()) {
|
||||
if (account.getXmppConnection() != null && account.getXmppConnection().getFeatures().pep()) {
|
||||
publishBundlesIfNeeded(true, false);
|
||||
} else {
|
||||
Log.d(Config.LOGTAG,account.getJid().toBareJid()+": skipping OMEMO initialization");
|
||||
|
Loading…
Reference in New Issue
Block a user