{"action":"created","issue":{"url":"https://api.github.com/repos/status-im/status-react/issues/7073","repository_url":"https://api.github.com/repos/status-im/status-react","labels_url":"https://api.github.com/repos/status-im/status-react/issues/7073/labels{/name}","comments_url":"https://api.github.com/repos/status-im/status-react/issues/7073/comments","events_url":"https://api.github.com/repos/status-im/status-react/issues/7073/events","html_url":"https://github.com/status-im/status-react/pull/7073","id":390124232,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3OTU3MTEx","number":7073,"title":"Fetch history action","user":{"login":"cammellos","id":1017008,"node_id":"MDQ6VXNlcjEwMTcwMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/1017008?v=4","gravatar_id":"","url":"https://api.github.com/users/cammellos","html_url":"https://github.com/cammellos","followers_url":"https://api.github.com/users/cammellos/followers","following_url":"https://api.github.com/users/cammellos/following{/other_user}","gists_url":"https://api.github.com/users/cammellos/gists{/gist_id}","starred_url":"https://api.github.com/users/cammellos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cammellos/subscriptions","organizations_url":"https://api.github.com/users/cammellos/orgs","repos_url":"https://api.github.com/users/cammellos/repos","events_url":"https://api.github.com/users/cammellos/events{/privacy}","received_events_url":"https://api.github.com/users/cammellos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cammellos","id":1017008,"node_id":"MDQ6VXNlcjEwMTcwMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/1017008?v=4","gravatar_id":"","url":"https://api.github.com/users/cammellos","html_url":"https://github.com/cammellos","followers_url":"https://api.github.com/users/cammellos/followers","following_url":"https://api.github.com/users/cammellos/following{/other_user}","gists_url":"https://api.github.com/users/cammellos/gists{/gist_id}","starred_url":"https://api.github.com/users/cammellos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cammellos/subscriptions","organizations_url":"https://api.github.com/users/cammellos/orgs","repos_url":"https://api.github.com/users/cammellos/repos","events_url":"https://api.github.com/users/cammellos/events{/privacy}","received_events_url":"https://api.github.com/users/cammellos/received_events","type":"User","site_admin":false},"assignees":[{"login":"cammellos","id":1017008,"node_id":"MDQ6VXNlcjEwMTcwMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/1017008?v=4","gravatar_id":"","url":"https://api.github.com/users/cammellos","html_url":"https://github.com/cammellos","followers_url":"https://api.github.com/users/cammellos/followers","following_url":"https://api.github.com/users/cammellos/following{/other_user}","gists_url":"https://api.github.com/users/cammellos/gists{/gist_id}","starred_url":"https://api.github.com/users/cammellos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cammellos/subscriptions","organizations_url":"https://api.github.com/users/cammellos/orgs","repos_url":"https://api.github.com/users/cammellos/repos","events_url":"https://api.github.com/users/cammellos/events{/privacy}","received_events_url":"https://api.github.com/users/cammellos/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-12-12T08:56:52Z","updated_at":"2018-12-13T13:49:17Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/status-im/status-react/pulls/7073","html_url":"https://github.com/status-im/status-react/pull/7073","diff_url":"https://github.com/status-im/status-react/pull/7073.diff","patch_url":"https://github.com/status-im/status-react/pull/7073.patch"},"body":"Adds a entry in the menu to fetch the last 24 hours (default) for a given topic (discovery for public chats, sym key for public).\r\n\r\nAlso uses cursor to fetch from mailservers, which will partially fix the current issues we are facing.\r\n\r\nA cursor will ask for much less data (currently 200 messages) and will paginate over it until the end is reached.\r\n\r\nWhat is still do to (not in the scope of this PR):\r\n- Currently if the request fails it will again start from the first 200 messages, it will not pick up from where it has left\r\n- Possibly we would want to give up and move on if we can't fetch some data (try max N times), rather than starting from scratch next time\r\n\r\n### Testing\r\n\r\nThe behaviour should be similar to what is currently happening (long \"Fetching messages  banner\"), but unlike develop, eventually it will go away in this PR and history will be fetched.\r\n\r\nstatus: ready\r\n"},"comment":{"url":"https://api.github.com/repos/status-im/status-react/issues/comments/446974539","html_url":"https://github.com/status-im/status-react/pull/7073#issuecomment-446974539","issue_url":"https://api.github.com/repos/status-im/status-react/issues/7073","id":446974539,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Njk3NDUzOQ==","user":{"login":"status-im-auto","id":40699771,"node_id":"MDQ6VXNlcjQwNjk5Nzcx","avatar_url":"https://avatars2.githubusercontent.com/u/40699771?v=4","gravatar_id":"","url":"https://api.github.com/users/status-im-auto","html_url":"https://github.com/status-im-auto","followers_url":"https://api.github.com/users/status-im-auto/followers","following_url":"https://api.github.com/users/status-im-auto/following{/other_user}","gists_url":"https://api.github.com/users/status-im-auto/gists{/gist_id}","starred_url":"https://api.github.com/users/status-im-auto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/status-im-auto/subscriptions","organizations_url":"https://api.github.com/users/status-im-auto/orgs","repos_url":"https://api.github.com/users/status-im-auto/repos","events_url":"https://api.github.com/users/status-im-auto/events{/privacy}","received_events_url":"https://api.github.com/users/status-im-auto/received_events","type":"User","site_admin":false},"created_at":"2018-12-13T13:49:17Z","updated_at":"2018-12-13T13:49:17Z","author_association":"MEMBER","body":"#### :heavy_check_mark: [status-react/prs/macos/PR-7073#3](https://ci.status.im/job/status-react/job/prs/job/macos/job/PR-7073/3/) :small_blue_diamond: ~13 min :small_blue_diamond: a87f2a2c :small_blue_diamond: [:package: macos package](https://status-im.ams3.digitaloceanspaces.com/StatusIm-181213-133544-a87f2a-false.dmg)"}}
{"actor":{"display_login":"status-im-auto"}}