aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de')
-rw-r--r--src/main/java/de/pixart/messenger/services/XmppConnectionService.java3
1 files changed, 2 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 408ad5a8f..e03250cb3 100644
--- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
+++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
@@ -1753,7 +1753,8 @@ public class XmppConnectionService extends Service {
}
public void pushBookmarks(Account account) {
- if (account.getXmppConnection() != null && account.getXmppConnection().getFeatures().bookmarksConversion()) {
+ final XmppConnection connection = account.getXmppConnection();
+ if (connection != null && connection.getFeatures().bookmarksConversion()) {
new Thread(() -> pushBookmarksPep(account)).start();
} else {
new Thread(() -> pushBookmarksPrivateXml(account)).start();