MOBILE-3511 message: Fix mark all messages as read

main
Dani Palou 2020-09-16 13:14:19 +02:00
parent a93667c9f9
commit 39c4fc516d
1 changed files with 2 additions and 1 deletions

View File

@ -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');
}
/**