mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 10:22:15 -05:00
Really fix this (I hope) based on more feedback from cketti.
This commit is contained in:
parent
590b222507
commit
e55d3019c3
@ -4718,16 +4718,15 @@ public class MessagingController implements Runnable
|
||||
return false;
|
||||
}
|
||||
Pusher pusher = store.getPusher(receiver);
|
||||
Pusher oldPusher = null;
|
||||
if (pusher != null)
|
||||
{
|
||||
oldPusher = pushers.putIfAbsent(account, pusher);
|
||||
}
|
||||
Pusher oldPusher = pushers.putIfAbsent(account, pusher);
|
||||
if (oldPusher == null)
|
||||
{
|
||||
pusher.start(names);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.e(K9.LOG_TAG, "Could not get remote store", e);
|
||||
|
Loading…
Reference in New Issue
Block a user