Commit 0f440c0
committed
Don't go through sendPing: when unfreezing an account
If we go through the MLXMPPManager's connectIfNecessary, we don't want
to prevent a race condition with disconnect:, like sendPing: does: we
already know that we were cleanly disconnected and always want to
connect again. But for good measure we still try to simply ping instead
of doing a real (re)connect, if we detect we are somehow still connected
or at least seem to be (the ping will bring clarity).1 parent d1124a8 commit 0f440c0
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
529 | | - | |
530 | | - | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
531 | 539 | | |
532 | 540 | | |
533 | 541 | | |
| |||
0 commit comments