1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-02 00:25:10 -04:00

Really fix this (I hope) based on more feedback from cketti.

This commit is contained in:
Daniel Applebaum 2010-05-06 13:24:13 +00:00
parent 590b222507
commit e55d3019c3

View File

@ -4718,15 +4718,14 @@ public class MessagingController implements Runnable
return false;
}
Pusher pusher = store.getPusher(receiver);
Pusher oldPusher = null;
if (pusher != null)
{
oldPusher = pushers.putIfAbsent(account, pusher);
}
if (oldPusher == null)
{
pusher.start(names);
}
Pusher oldPusher = pushers.putIfAbsent(account, pusher);
if (oldPusher == null)
{
pusher.start(names);
}
}
}
catch (Exception e)
{