diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-04-12 21:16:26 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-04-12 21:16:26 +0200 |
commit | 39faf1736756aa31222a4e621d16c18851361d31 (patch) | |
tree | 528d03bcd7eaf821ee9aceb069b9168cd7d9aa95 /src/main/java/de/pixart/messenger/services | |
parent | e7a54fb663fe7f66082c88aae6bb9baf9d042639 (diff) |
fix some NPE
Diffstat (limited to 'src/main/java/de/pixart/messenger/services')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java index 90b2784a5..5ba0355a8 100644 --- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java +++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java @@ -1734,7 +1734,7 @@ public class XmppConnectionService extends Service { } public void pushBookmarks(Account account) { - if (account.getXmppConnection().getFeatures().bookmarksConversion()) { + if (account.getXmppConnection() != null && account.getXmppConnection().getFeatures().bookmarksConversion()) { pushBookmarksPep(account); } else { pushBookmarksPrivateXml(account); |