-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
3.6.1
-
None
-
MOODLE_36_STABLE
Steps to reproduce
- Log in as admin
- Go to Administration > Advanced features
- Set "Allow site-wide messaging" to no (uncheck it)
- Browse a list of users, start messaging with some
- Click the three-dots icon in upper right corner of the messaging UI, and then Info
- Click the blue button "Add to contacts" and confirm it
Expected behaviour: Contact request sent
Actual behaviour: Error appears: "You are unable to create a contact request for this user"
File: .../lib/requirejs.php/1545043080/core/first.js
Line: 123