{"action":"created","issue":{"url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/40","repository_url":"https://api.github.com/repos/cmgmyr/laravel-messenger","labels_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/40/comments","events_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/40/events","html_url":"https://github.com/cmgmyr/laravel-messenger/issues/40","id":82762771,"number":40,"title":"Soft-delete just for one user","user":{"login":"JuliaSivartsson","id":8617468,"avatar_url":"https://avatars.githubusercontent.com/u/8617468?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaSivartsson","html_url":"https://github.com/JuliaSivartsson","followers_url":"https://api.github.com/users/JuliaSivartsson/followers","following_url":"https://api.github.com/users/JuliaSivartsson/following{/other_user}","gists_url":"https://api.github.com/users/JuliaSivartsson/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaSivartsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaSivartsson/subscriptions","organizations_url":"https://api.github.com/users/JuliaSivartsson/orgs","repos_url":"https://api.github.com/users/JuliaSivartsson/repos","events_url":"https://api.github.com/users/JuliaSivartsson/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaSivartsson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cmgmyr","id":4693481,"avatar_url":"https://avatars.githubusercontent.com/u/4693481?v=3","gravatar_id":"","url":"https://api.github.com/users/cmgmyr","html_url":"https://github.com/cmgmyr","followers_url":"https://api.github.com/users/cmgmyr/followers","following_url":"https://api.github.com/users/cmgmyr/following{/other_user}","gists_url":"https://api.github.com/users/cmgmyr/gists{/gist_id}","starred_url":"https://api.github.com/users/cmgmyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmgmyr/subscriptions","organizations_url":"https://api.github.com/users/cmgmyr/orgs","repos_url":"https://api.github.com/users/cmgmyr/repos","events_url":"https://api.github.com/users/cmgmyr/events{/privacy}","received_events_url":"https://api.github.com/users/cmgmyr/received_events","type":"User","site_admin":false},"assignees":[{"login":"cmgmyr","id":4693481,"avatar_url":"https://avatars.githubusercontent.com/u/4693481?v=3","gravatar_id":"","url":"https://api.github.com/users/cmgmyr","html_url":"https://github.com/cmgmyr","followers_url":"https://api.github.com/users/cmgmyr/followers","following_url":"https://api.github.com/users/cmgmyr/following{/other_user}","gists_url":"https://api.github.com/users/cmgmyr/gists{/gist_id}","starred_url":"https://api.github.com/users/cmgmyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmgmyr/subscriptions","organizations_url":"https://api.github.com/users/cmgmyr/orgs","repos_url":"https://api.github.com/users/cmgmyr/repos","events_url":"https://api.github.com/users/cmgmyr/events{/privacy}","received_events_url":"https://api.github.com/users/cmgmyr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":14,"created_at":"2015-05-30T09:32:05Z","updated_at":"2016-07-05T12:57:28Z","closed_at":null,"body":"When I delete a message as a user, it gets deleted for all the participants. Is there a way to change this so that it just gets deleted for the user who pressed 'delete' or do I have to change the whole table structure for this?"},"comment":{"url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/comments/230470478","html_url":"https://github.com/cmgmyr/laravel-messenger/issues/40#issuecomment-230470478","issue_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/40","id":230470478,"user":{"login":"theunreal","id":6171883,"avatar_url":"https://avatars.githubusercontent.com/u/6171883?v=3","gravatar_id":"","url":"https://api.github.com/users/theunreal","html_url":"https://github.com/theunreal","followers_url":"https://api.github.com/users/theunreal/followers","following_url":"https://api.github.com/users/theunreal/following{/other_user}","gists_url":"https://api.github.com/users/theunreal/gists{/gist_id}","starred_url":"https://api.github.com/users/theunreal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theunreal/subscriptions","organizations_url":"https://api.github.com/users/theunreal/orgs","repos_url":"https://api.github.com/users/theunreal/repos","events_url":"https://api.github.com/users/theunreal/events{/privacy}","received_events_url":"https://api.github.com/users/theunreal/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T12:57:28Z","updated_at":"2016-07-05T12:57:28Z","body":"I think you take it too far atm, Actually all is needed is removing a participant from a thread. Once he is not patricpantin in a thread, it will not be displayed in his list of threads (`$user->threads()`) and when the last participant leaves - the thread will be deleted permenantly.\r\n\r\nThe block, archive and leave actions can be added later as another issue.."}}
{"actor":{"display_login":"theunreal"}}