2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Added ability to mark all chats as read.

This commit is contained in:
23rd
2020-09-17 17:56:01 +03:00
committed by John Preston
parent bdce2d5e25
commit aecdc01e41
5 changed files with 79 additions and 48 deletions

View File

@@ -59,9 +59,12 @@ void PeerMenuAddMuteAction(
not_null<PeerData*> peer,
const PeerMenuCallback &addAction);
void MenuAddMarkAsReadChatListAction(
void MenuAddMarkAsReadAllChatsAction(
not_null<Data::Session*> data,
Fn<not_null<Dialogs::MainList*>()> list,
const PeerMenuCallback &addAction);
void MenuAddMarkAsReadChatListAction(
Fn<not_null<Dialogs::MainList*>()> &&list,
const PeerMenuCallback &addAction);
void PeerMenuExportChat(not_null<PeerData*> peer);