From 39c4fc516dce4918e1b1c2c0d4c902b16ae61f31 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Wed, 16 Sep 2020 13:14:19 +0200 Subject: [PATCH] MOBILE-3511 message: Fix mark all messages as read --- src/addon/messages/providers/messages.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/addon/messages/providers/messages.ts b/src/addon/messages/providers/messages.ts index ce0b4ae5d..6033ad8fd 100644 --- a/src/addon/messages/providers/messages.ts +++ b/src/addon/messages/providers/messages.ts @@ -1961,7 +1961,8 @@ export class AddonMessagesProvider { * @since 3.2 */ isMarkAllMessagesReadEnabled(): boolean { - return this.sitesProvider.wsAvailableInCurrentSite('core_message_mark_all_messages_as_read'); + return this.sitesProvider.wsAvailableInCurrentSite('core_message_mark_all_conversation_messages_as_read') || + this.sitesProvider.wsAvailableInCurrentSite('core_message_mark_all_messages_as_read'); } /**