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

Add a confirmation when blocking a user.

This commit is contained in:
John Preston
2019-07-15 15:47:40 +02:00
parent 2351865961
commit ffba901620
6 changed files with 22 additions and 14 deletions

View File

@@ -56,7 +56,8 @@ void PeerMenuCreatePoll(not_null<PeerData*> peer);
void PeerMenuBlockUserBox(
not_null<GenericBox*> box,
not_null<Window::Controller*> window,
not_null<UserData*> user);
not_null<UserData*> user,
bool suggestClearChat);
void PeerMenuUnblockUserWithBotRestart(not_null<UserData*> user);
void ToggleHistoryArchived(not_null<History*> history, bool archived);