Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f405a204 authored by stefan-niedermann's avatar stefan-niedermann
Browse files

Fix NullPointerException



Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference

Signed-off-by: default avatarstefan-niedermann <info@niedermann.it>
parent e87ddac3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -245,7 +245,7 @@ public class NoteServerSyncHelper {
                }
            } else {
                Log.d(TAG, "... do nothing");
                if (callbacksPull.containsKey(ssoAccount.name) && callbacksPull.get(ssoAccount.name) != null) {
                if (callbacksPush.containsKey(ssoAccount.name) && callbacksPush.get(ssoAccount.name) != null) {
                    for (ISyncCallback callback : callbacksPush.get(ssoAccount.name)) {
                        callback.onScheduled();
                    }