{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4802","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4802/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4802/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4802/events","html_url":"https://github.com/HabitRPG/habitrpg/issues/4802","id":59949663,"number":4802,"title":"Chat Alerts from Groups Kicked from Persist","user":{"login":"deilann","id":6274734,"avatar_url":"https://avatars.githubusercontent.com/u/6274734?v=3","gravatar_id":"","url":"https://api.github.com/users/deilann","html_url":"https://github.com/deilann","followers_url":"https://api.github.com/users/deilann/followers","following_url":"https://api.github.com/users/deilann/following{/other_user}","gists_url":"https://api.github.com/users/deilann/gists{/gist_id}","starred_url":"https://api.github.com/users/deilann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deilann/subscriptions","organizations_url":"https://api.github.com/users/deilann/orgs","repos_url":"https://api.github.com/users/deilann/repos","events_url":"https://api.github.com/users/deilann/events{/privacy}","received_events_url":"https://api.github.com/users/deilann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/bug","name":"bug","color":"e102d8"},{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/groups","name":"groups","color":"DDDDDD"},{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/priority%20-%20medium","name":"priority - medium","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-05T13:13:32Z","updated_at":"2015-04-02T22:04:52Z","closed_at":null,"body":"If a user is kicked from a group, any chat alerts they had persist, leaving them with an alert they can click on, generating an error that says they cannot access the group.\r\n\r\nWhen a user is kicked from a group, all alerts for that group should be removed from the user object.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9226031-chat-alerts-from-groups-kicked-from-persist?utm_campaign=plugin&utm_content=tracker%2F68393&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F68393&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/89058482","html_url":"https://github.com/HabitRPG/habitrpg/issues/4802#issuecomment-89058482","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4802","id":89058482,"user":{"login":"TheHollidayInn","id":1253400,"avatar_url":"https://avatars.githubusercontent.com/u/1253400?v=3","gravatar_id":"","url":"https://api.github.com/users/TheHollidayInn","html_url":"https://github.com/TheHollidayInn","followers_url":"https://api.github.com/users/TheHollidayInn/followers","following_url":"https://api.github.com/users/TheHollidayInn/following{/other_user}","gists_url":"https://api.github.com/users/TheHollidayInn/gists{/gist_id}","starred_url":"https://api.github.com/users/TheHollidayInn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheHollidayInn/subscriptions","organizations_url":"https://api.github.com/users/TheHollidayInn/orgs","repos_url":"https://api.github.com/users/TheHollidayInn/repos","events_url":"https://api.github.com/users/TheHollidayInn/events{/privacy}","received_events_url":"https://api.github.com/users/TheHollidayInn/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T22:04:52Z","updated_at":"2015-04-02T22:04:52Z","body":"I'm not seeing any message for when a user is kicked when trying to reproduce this. In fact, I see there is an issue for that: https://github.com/HabitRPG/habitrpg/issues/4801 . I think you should use your solution to #1 to solve this ticket and submit a second request solving #3 for the issue I linked. "}}