mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Allow supergroup members to clear history.
This commit is contained in:
@@ -435,7 +435,7 @@ void ActionsFiller::addClearHistoryAction(not_null<UserData*> user) {
|
||||
App::peerName(user));
|
||||
auto confirmCallback = [user] {
|
||||
Ui::hideLayer();
|
||||
App::main()->clearHistory(user);
|
||||
Auth().api().clearHistory(user);
|
||||
Ui::showPeerHistory(user, ShowAtUnreadMsgId);
|
||||
};
|
||||
auto box = Box<ConfirmBox>(
|
||||
|
Reference in New Issue
Block a user