{"action":"closed","issue":{"url":"https://api.github.com/repos/signalapp/Signal-Android/issues/7227","repository_url":"https://api.github.com/repos/signalapp/Signal-Android","labels_url":"https://api.github.com/repos/signalapp/Signal-Android/issues/7227/labels{/name}","comments_url":"https://api.github.com/repos/signalapp/Signal-Android/issues/7227/comments","events_url":"https://api.github.com/repos/signalapp/Signal-Android/issues/7227/events","html_url":"https://github.com/signalapp/Signal-Android/issues/7227","id":277190709,"number":7227,"title":"Incoming messages are only received after sending a message","user":{"login":"sam-jaques","id":8398540,"avatar_url":"https://avatars2.githubusercontent.com/u/8398540?v=4","gravatar_id":"","url":"https://api.github.com/users/sam-jaques","html_url":"https://github.com/sam-jaques","followers_url":"https://api.github.com/users/sam-jaques/followers","following_url":"https://api.github.com/users/sam-jaques/following{/other_user}","gists_url":"https://api.github.com/users/sam-jaques/gists{/gist_id}","starred_url":"https://api.github.com/users/sam-jaques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam-jaques/subscriptions","organizations_url":"https://api.github.com/users/sam-jaques/orgs","repos_url":"https://api.github.com/users/sam-jaques/repos","events_url":"https://api.github.com/users/sam-jaques/events{/privacy}","received_events_url":"https://api.github.com/users/sam-jaques/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-27T22:23:48Z","updated_at":"2018-04-03T04:49:23Z","closed_at":"2018-04-03T04:49:23Z","author_association":"NONE","body":"I have:\r\n- [X] searched open and closed issues for duplicates\r\n- [X] read https://github.com/WhisperSystems/Signal-Android/wiki/Submitting-useful-bug-reports\r\n\r\n----------------------------------------\r\n\r\n### Bug description\r\nWhen encrypted text messages come from a verified contact, sometimes I do not receive them until I send another message back. \r\nOther similar bugs mentioned that power saving may be an issue. Via the \"Security\" app in the MIUI I set battery saver to \"Off\", and under \"App Battery Saver\", Signal has a custom setting  of \"No Restrictions\".\r\n\r\n### Steps to reproduce\r\nI cannot consistently reproduce the bug. Steps that have caused it in the past:\r\n- Signal is open in the background (i.e., I have recently used it, have not closed it via the task manager, but have used other apps since opening it)\r\n- Contact sends a text message to me\r\n- I open the signal app\r\n- I send a message back to the contact\r\n\r\n**Actual result:** The message they sent appears only after I have sent another message back to them\r\n**Expected result:** The message from the contact should be received as soon as it is sent\r\n\r\n### Screenshots\r\nIn the screenshot you can see that the final message shown was from 39 minutes ago, yet was delivered after the message I sent 22 minutes ago. This was because the final message was only delivered after I sent the second-last message.\r\nThis means that in the debug log, it will be around 16:49 when the message was finally displayed, thought it may have been received any time after 16:32. Line 532 is right around the time this would have happened.\r\n![screen shot 2017-11-27 at 5 13 38 pm](https://user-images.githubusercontent.com/8398540/33292220-74303d66-d396-11e7-8779-636f62f75e63.png)\r\n\r\n\r\n\r\n### Device info\r\nDevice  : Xiaomi Redmi Note 4 (mido)\r\nAndroid : 7.0 (V9.0.3.0.NCFMIEI, AL1512-mido-build-20171028011511)\r\nMemory  : 34M (24.05% free, 512M max)\r\nMemclass: 192\r\nOS Host : mi-server\r\nApp     : Signal 4.12.3\r\n\r\n### Link to debug log\r\nhttps://gist.github.com/anonymous/6848cc7789aefa05008659a5c4f3caa1\r\n\r\n"}}
{"actor":{"display_login":"automated-signal"}}