{"action":"closed","issue":{"url":"https://api.github.com/repos/danmarsden/moodle-mod_attendance/issues/166","repository_url":"https://api.github.com/repos/danmarsden/moodle-mod_attendance","labels_url":"https://api.github.com/repos/danmarsden/moodle-mod_attendance/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/danmarsden/moodle-mod_attendance/issues/166/comments","events_url":"https://api.github.com/repos/danmarsden/moodle-mod_attendance/issues/166/events","html_url":"https://github.com/danmarsden/moodle-mod_attendance/issues/166","id":108921875,"number":166,"title":"Attendance Block Messaging","user":{"login":"btindell","id":7874245,"avatar_url":"https://avatars.githubusercontent.com/u/7874245?v=3","gravatar_id":"","url":"https://api.github.com/users/btindell","html_url":"https://github.com/btindell","followers_url":"https://api.github.com/users/btindell/followers","following_url":"https://api.github.com/users/btindell/following{/other_user}","gists_url":"https://api.github.com/users/btindell/gists{/gist_id}","starred_url":"https://api.github.com/users/btindell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btindell/subscriptions","organizations_url":"https://api.github.com/users/btindell/orgs","repos_url":"https://api.github.com/users/btindell/repos","events_url":"https://api.github.com/users/btindell/events{/privacy}","received_events_url":"https://api.github.com/users/btindell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-29T17:50:07Z","updated_at":"2016-03-21T02:43:41Z","closed_at":"2016-03-21T02:43:41Z","body":"In the global admin settings, if messaging is turned off, and the instructor goes to \"Report\", clicks on a student, and then clicks \"Send a message\", an error occurs. \r\n\r\nThis wording is somewhat misleading. Perhaps this could be changed to \"Send an email\" instead of sending a message, or this functionality is disabled if messaging is disabled for the site."}}