Don't send APN fallbacks for sync messages

// FREEBIE
This commit is contained in:
Moxie Marlinspike committed 2016-09-14 16:40:33 -07:00
1 parent 26b552a12e
commit 7b60ae26fc
3 files changed
+13 -9

No files matched your search

@@ -250,7 +250,7 @@ public class WebSocketConnectionTest {
verify(receiptSender, times(1)).sendReceipt(eq(account), eq("sender2"), eq(secondMessage.getTimestamp()), eq(Optional.<String>absent()));
verify(websocketSender, times(1)).queueMessage(eq(account), eq(device), any(Envelope.class));
verify(pushSender, times(1)).sendQueuedNotification(eq(account), eq(device), eq(10));
verify(pushSender, times(1)).sendQueuedNotification(eq(account), eq(device), eq(10), eq(true));
connection.onDispatchUnsubscribed(websocketAddress.serialize());
verify(client).close(anyInt(), anyString());