{"action":"closed","issue":{"url":"https://api.github.com/repos/status-im/status-react/issues/4215","repository_url":"https://api.github.com/repos/status-im/status-react","labels_url":"https://api.github.com/repos/status-im/status-react/issues/4215/labels{/name}","comments_url":"https://api.github.com/repos/status-im/status-react/issues/4215/comments","events_url":"https://api.github.com/repos/status-im/status-react/issues/4215/events","html_url":"https://github.com/status-im/status-react/issues/4215","id":322205653,"number":4215,"title":"User can clear the chat history","user":{"login":"chadyj","id":116099,"avatar_url":"https://avatars0.githubusercontent.com/u/116099?v=4","gravatar_id":"","url":"https://api.github.com/users/chadyj","html_url":"https://github.com/chadyj","followers_url":"https://api.github.com/users/chadyj/followers","following_url":"https://api.github.com/users/chadyj/following{/other_user}","gists_url":"https://api.github.com/users/chadyj/gists{/gist_id}","starred_url":"https://api.github.com/users/chadyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadyj/subscriptions","organizations_url":"https://api.github.com/users/chadyj/orgs","repos_url":"https://api.github.com/users/chadyj/repos","events_url":"https://api.github.com/users/chadyj/events{/privacy}","received_events_url":"https://api.github.com/users/chadyj/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},{"id":903584960,"url":"https://api.github.com/repos/status-im/status-react/labels/security","name":"security","color":"ab08d3","default":false}],"state":"closed","locked":false,"assignee":{"login":"cammellos","id":1017008,"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,"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":{"url":"https://api.github.com/repos/status-im/status-react/milestones/21","html_url":"https://github.com/status-im/status-react/milestone/21","labels_url":"https://api.github.com/repos/status-im/status-react/milestones/21/labels","id":3355444,"number":21,"title":"Beta","description":"Issues and blockers required for the Q2 beta release","creator":{"login":"chadyj","id":116099,"avatar_url":"https://avatars0.githubusercontent.com/u/116099?v=4","gravatar_id":"","url":"https://api.github.com/users/chadyj","html_url":"https://github.com/chadyj","followers_url":"https://api.github.com/users/chadyj/followers","following_url":"https://api.github.com/users/chadyj/following{/other_user}","gists_url":"https://api.github.com/users/chadyj/gists{/gist_id}","starred_url":"https://api.github.com/users/chadyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadyj/subscriptions","organizations_url":"https://api.github.com/users/chadyj/orgs","repos_url":"https://api.github.com/users/chadyj/repos","events_url":"https://api.github.com/users/chadyj/events{/privacy}","received_events_url":"https://api.github.com/users/chadyj/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":56,"state":"open","created_at":"2018-05-17T18:10:04Z","updated_at":"2018-05-29T09:42:53Z","due_on":"2018-06-15T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-05-11T08:04:18Z","updated_at":"2018-05-29T09:42:53Z","closed_at":"2018-05-29T09:42:53Z","author_association":"MEMBER","body":"### User Story\r\n\r\nAs a user, I'd like to have more control over my chat history and want to delete it anytime.\r\n\r\n### Description\r\n\r\n*Type*: Feature\r\n\r\n*Summary*: Currently, it's unclear how long the chat history is stored. The minimal requirements are to have an ability to delete it completely. \r\n\r\n### Solution\r\n*Summary*: \r\n- From a chat, a user can tap \"more\" then \"Clear chat\". This will keep the chat but delete its contents.\r\n- This applies to 1-to-1,group-chat and public chats alike.\r\n- Old messages will not be received again\r\n\r\nFuture idea:\r\nA more advanced option would be to set a timer when chat history should be deleted or delete it if the session is ended (definition of the session also needs to be developed or specified).\r\n\r\nSplit from https://github.com/status-im/status-react/issues/3988 by @adambabik \r\n"}}
{"actor":{"display_login":"cammellos"}}