-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Acquire a wake lock for each sent message/receipt
There were cases where the OS didn't give enough time to confirm a message because the device went back to sleep. This will ensure that outgoing messages and receipts are correctly received by the server. Thanks to @webratte for helping me debugging this. Signed-off-by: Daniele Ricci <[email protected]>
- Loading branch information
1 parent
7636553
commit cdd4e96
Showing
4 changed files
with
402 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.