MDL-63913 core_message: fix to ensure favourites is exclusive
authorJake Dallimore <jake@moodle.com>
Mon, 19 Nov 2018 05:51:40 +0000 (13:51 +0800)
committerJake Dallimore <jake@moodle.com>
Mon, 19 Nov 2018 05:51:40 +0000 (13:51 +0800)
commita54115355a265ec646496502d3e571b2cdec96ea
tree0ac055852d6b1ccd920c1622dfdd8dcc38d1b59f
parent33022ee1d5a9279b91ffeb6ce017eef122436b5b
MDL-63913 core_message: fix to ensure favourites is exclusive

If a conversation is included in the favourites unread count, it
cannot be included in any other type-based counts.
message/classes/api.php
message/tests/api_test.php