{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7017","repository_url":"https://api.github.com/repos/HabitRPG/habitrpg","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7017/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7017/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7017/events","html_url":"https://github.com/HabitRPG/habitrpg/pull/7017","id":145570057,"number":7017,"title":"Bug/inbox todo","user":{"login":"Sinble","id":8887847,"avatar_url":"https://avatars.githubusercontent.com/u/8887847?v=3","gravatar_id":"","url":"https://api.github.com/users/Sinble","html_url":"https://github.com/Sinble","followers_url":"https://api.github.com/users/Sinble/followers","following_url":"https://api.github.com/users/Sinble/following{/other_user}","gists_url":"https://api.github.com/users/Sinble/gists{/gist_id}","starred_url":"https://api.github.com/users/Sinble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sinble/subscriptions","organizations_url":"https://api.github.com/users/Sinble/orgs","repos_url":"https://api.github.com/users/Sinble/repos","events_url":"https://api.github.com/users/Sinble/events{/privacy}","received_events_url":"https://api.github.com/users/Sinble/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-04T02:56:54Z","updated_at":"2016-04-04T03:28:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/7017","html_url":"https://github.com/HabitRPG/habitrpg/pull/7017","diff_url":"https://github.com/HabitRPG/habitrpg/pull/7017.diff","patch_url":"https://github.com/HabitRPG/habitrpg/pull/7017.patch"},"body":"[//]: # (Note: See http://habitica.wikia.com/wiki/Using_Habitica_Git#Pull_Request for more info)\r\n\r\n[//]: # (Put Issue # or URL here, if applicable. This will automatically close the issue if your PR is merged in)\r\n#6994 \r\n\r\n### Changes\r\n[//]: # (Describe the changes that were made in detail here. Include pictures if necessary)\r\nmissing `ng-controller='ChatCtrl'` so it was unable to find copyToDo. Next copyToDo uses group.name in scope so created inboxCtrl to supply it.\r\n\r\n\r\n[//]: # (Put User ID in here - found in Settings -> API)\r\n----\r\nUUID: 25479d8c-45e1-482c-877e-6af2ccaba643"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/205118622","html_url":"https://github.com/HabitRPG/habitrpg/pull/7017#issuecomment-205118622","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7017","id":205118622,"user":{"login":"crookedneighbor","id":2916945,"avatar_url":"https://avatars.githubusercontent.com/u/2916945?v=3","gravatar_id":"","url":"https://api.github.com/users/crookedneighbor","html_url":"https://github.com/crookedneighbor","followers_url":"https://api.github.com/users/crookedneighbor/followers","following_url":"https://api.github.com/users/crookedneighbor/following{/other_user}","gists_url":"https://api.github.com/users/crookedneighbor/gists{/gist_id}","starred_url":"https://api.github.com/users/crookedneighbor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crookedneighbor/subscriptions","organizations_url":"https://api.github.com/users/crookedneighbor/orgs","repos_url":"https://api.github.com/users/crookedneighbor/repos","events_url":"https://api.github.com/users/crookedneighbor/events{/privacy}","received_events_url":"https://api.github.com/users/crookedneighbor/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T03:28:54Z","updated_at":"2016-04-04T03:28:54Z","body":"I'm hesitant to just slap the chat controller onto the inbox, as it's really just this function that is missing: https://github.com/HabitRPG/habitrpg/blob/develop/website/public/js/controllers/chatCtrl.js#L93-L109\r\n\r\nDoesn't seem right to expose all the other functionality of the chat controller onto the inbox.\r\n\r\nIn fact, the notes field should probably be updated to be something more specific to the inbox. Why not just add a similar function to the new inbox controller? Would also eliminate the need to create a hacky group object on `$scope`?"}}