[AMOS commit] MDL-63466 core_message: Add conversation support to get_messages Committed into Git: 2018-10-23 11:18 UTC

[AMOS commit] MDL-63466 core_message: Add conversation support to get_messages Committed into Git: 2018-10-23 11:18 UTC

by AMOS bot -
Number of replies: 0
Author: Sara Arjona
MDL-63466 core_message: Add conversation support to get_messages
- The get_conversation_messages has been added to the API and the WS
with the conversation identifier (convid) instead of the userto,
to let get conversation messages and the members involved.
- The cache has been also reviewed, to use the convid instead of the
[userfrom, userto] keys.
- The get_most_recent_conversation_messages has been added to the API
to update the cache when needed.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=fb04293bb1df2fdd3d93494b29c0151fe3937899
http://github.com/moodle/moodle/commit/fb04293bb1df2fdd3d93494b29c0151fe3937899

+ 3.6 en [cachedef_message_time_last_message_between_users,core_cache]