Merge branch 'MDL-39770_chat' of https://github.com/andyjdavis/moodle