{"action":"created","issue":{"url":"https://api.github.com/repos/status-im/status-react/issues/4329","repository_url":"https://api.github.com/repos/status-im/status-react","labels_url":"https://api.github.com/repos/status-im/status-react/issues/4329/labels{/name}","comments_url":"https://api.github.com/repos/status-im/status-react/issues/4329/comments","events_url":"https://api.github.com/repos/status-im/status-react/issues/4329/events","html_url":"https://github.com/status-im/status-react/pull/4329","id":324231039,"number":4329,"title":"[fix 4177] handle discovery signals","user":{"login":"yenda","id":1181225,"avatar_url":"https://avatars1.githubusercontent.com/u/1181225?v=4","gravatar_id":"","url":"https://api.github.com/users/yenda","html_url":"https://github.com/yenda","followers_url":"https://api.github.com/users/yenda/followers","following_url":"https://api.github.com/users/yenda/following{/other_user}","gists_url":"https://api.github.com/users/yenda/gists{/gist_id}","starred_url":"https://api.github.com/users/yenda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yenda/subscriptions","organizations_url":"https://api.github.com/users/yenda/orgs","repos_url":"https://api.github.com/users/yenda/repos","events_url":"https://api.github.com/users/yenda/events{/privacy}","received_events_url":"https://api.github.com/users/yenda/received_events","type":"User","site_admin":false},"labels":[{"id":795655580,"url":"https://api.github.com/repos/status-im/status-react/labels/chat","name":"chat","color":"f70cb0","default":false}],"state":"open","locked":false,"assignee":{"login":"yenda","id":1181225,"avatar_url":"https://avatars1.githubusercontent.com/u/1181225?v=4","gravatar_id":"","url":"https://api.github.com/users/yenda","html_url":"https://github.com/yenda","followers_url":"https://api.github.com/users/yenda/followers","following_url":"https://api.github.com/users/yenda/following{/other_user}","gists_url":"https://api.github.com/users/yenda/gists{/gist_id}","starred_url":"https://api.github.com/users/yenda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yenda/subscriptions","organizations_url":"https://api.github.com/users/yenda/orgs","repos_url":"https://api.github.com/users/yenda/repos","events_url":"https://api.github.com/users/yenda/events{/privacy}","received_events_url":"https://api.github.com/users/yenda/received_events","type":"User","site_admin":false},"assignees":[{"login":"yenda","id":1181225,"avatar_url":"https://avatars1.githubusercontent.com/u/1181225?v=4","gravatar_id":"","url":"https://api.github.com/users/yenda","html_url":"https://github.com/yenda","followers_url":"https://api.github.com/users/yenda/followers","following_url":"https://api.github.com/users/yenda/following{/other_user}","gists_url":"https://api.github.com/users/yenda/gists{/gist_id}","starred_url":"https://api.github.com/users/yenda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yenda/subscriptions","organizations_url":"https://api.github.com/users/yenda/orgs","repos_url":"https://api.github.com/users/yenda/repos","events_url":"https://api.github.com/users/yenda/events{/privacy}","received_events_url":"https://api.github.com/users/yenda/received_events","type":"User","site_admin":false}],"milestone":null,"comments":15,"created_at":"2018-05-18T00:32:48Z","updated_at":"2018-05-22T11:12:54Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/status-im/status-react/pulls/4329","html_url":"https://github.com/status-im/status-react/pull/4329","diff_url":"https://github.com/status-im/status-react/pull/4329.diff","patch_url":"https://github.com/status-im/status-react/pull/4329.patch"},"body":"fix #4177\r\n\r\nUse peer summary signal to update the state of the connection and better manage the mailserver connection and provide info/error on current state.\r\n\r\n- show \"Offline\" notif when phone is offline\r\n- show \"You are not connected to any peer\" notif when phone is online but there is no connectivity or no peer can be reached\r\n- show \"Fetching messages...\" notif for 5 seconds after mailserver requests to inform user\r\n- show \"Could not connect to mailserver. Tap to reconnect\" after error during connection to mailserver that isn't due to being offline or not connected to any peer\r\n- when offline/not connected, accumulate mailserver topic requests for when user is back online. Exemple: Airplane mode, join public-chat, online again, public chat is fetched\r\n \r\nstatus: ready"},"comment":{"url":"https://api.github.com/repos/status-im/status-react/issues/comments/390953210","html_url":"https://github.com/status-im/status-react/pull/4329#issuecomment-390953210","issue_url":"https://api.github.com/repos/status-im/status-react/issues/4329","id":390953210,"user":{"login":"yenda","id":1181225,"avatar_url":"https://avatars1.githubusercontent.com/u/1181225?v=4","gravatar_id":"","url":"https://api.github.com/users/yenda","html_url":"https://github.com/yenda","followers_url":"https://api.github.com/users/yenda/followers","following_url":"https://api.github.com/users/yenda/following{/other_user}","gists_url":"https://api.github.com/users/yenda/gists{/gist_id}","starred_url":"https://api.github.com/users/yenda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yenda/subscriptions","organizations_url":"https://api.github.com/users/yenda/orgs","repos_url":"https://api.github.com/users/yenda/repos","events_url":"https://api.github.com/users/yenda/events{/privacy}","received_events_url":"https://api.github.com/users/yenda/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T11:12:54Z","updated_at":"2018-05-22T11:12:54Z","author_association":"MEMBER","body":"@lukaszfryc on the simulator I just cut the internet connection of the PC, on the phone I think it should be doable by deactivating wifi, and not allowing data on mobile connection."}}
{"actor":{"display_login":"yenda"}}