MDL-56407 message: Indicate user is blocked in message area

This commit is contained in:
Jun Pataleta
2016-11-17 09:11:37 +08:00
parent b4d6669dd0
commit 26dca05d02
6 changed files with 62 additions and 16 deletions
+2 -1
View File
@@ -970,7 +970,8 @@ class core_message_external extends external_api {
'isonline' => new external_value(PARAM_BOOL, 'The user\'s online status'),
'messages' => new external_multiple_structure(
self::get_messagearea_message_structure()
)
),
'isblocked' => new external_value(PARAM_BOOL, 'Is this user blocked by the current user?', VALUE_DEFAULT, false),
)
);
}