{"action":"created","issue":{"url":"https://api.github.com/repos/status-im/status-react/issues/4481","repository_url":"https://api.github.com/repos/status-im/status-react","labels_url":"https://api.github.com/repos/status-im/status-react/issues/4481/labels{/name}","comments_url":"https://api.github.com/repos/status-im/status-react/issues/4481/comments","events_url":"https://api.github.com/repos/status-im/status-react/issues/4481/events","html_url":"https://github.com/status-im/status-react/pull/4481","id":326966328,"number":4481,"title":"Feature/use from param","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":9,"created_at":"2018-05-28T09:47:21Z","updated_at":"2018-05-28T14:36:27Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/status-im/status-react/pulls/4481","html_url":"https://github.com/status-im/status-react/pull/4481","diff_url":"https://github.com/status-im/status-react/pull/4481.diff","patch_url":"https://github.com/status-im/status-react/pull/4481.patch"},"body":"fixes #4427\r\nThe first commit in this PR can be ignored as it is alreay in #4467 \r\nThe second commit introduces a way to differentiate mailserver messages from other whisper messages to keep a timestamp of the last mailserver message received. To do that we compare current time with message time stamp + ttl, if message is expired it comes from the mailserver.\r\nFinally the third commit reimplement a similar mechanism to what was proposed in #4230 except that the :last-request is only updated 10 seconds after the latest message from mailserver has been received without a change of connection state:\r\n\r\nWhen logging in, request messages from last-request for all chats, except chats added while offline for which we request full history. Same when connectivity is re-established after connectivity loss\r\nWhen adding a chat, request full history for the chat  \r\n\r\n# notes for testing\r\nrequires some chaos testing\r\nkilling the app while fetching, shutting down network while fetching,  joining chat while offline...\r\n\r\n\r\nstatus: ready\r\n"},"comment":{"url":"https://api.github.com/repos/status-im/status-react/issues/comments/392543610","html_url":"https://github.com/status-im/status-react/pull/4481#issuecomment-392543610","issue_url":"https://api.github.com/repos/status-im/status-react/issues/4481","id":392543610,"user":{"login":"rasom","id":2364994,"avatar_url":"https://avatars2.githubusercontent.com/u/2364994?v=4","gravatar_id":"","url":"https://api.github.com/users/rasom","html_url":"https://github.com/rasom","followers_url":"https://api.github.com/users/rasom/followers","following_url":"https://api.github.com/users/rasom/following{/other_user}","gists_url":"https://api.github.com/users/rasom/gists{/gist_id}","starred_url":"https://api.github.com/users/rasom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasom/subscriptions","organizations_url":"https://api.github.com/users/rasom/orgs","repos_url":"https://api.github.com/users/rasom/repos","events_url":"https://api.github.com/users/rasom/events{/privacy}","received_events_url":"https://api.github.com/users/rasom/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T14:36:27Z","updated_at":"2018-05-28T14:36:27Z","author_association":"MEMBER","body":"ipa uploaded to https://i.diawi.com/pR9DM9 for branch PR-4481"}}
{"actor":{"display_login":"rasom"}}