mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Update API scheme to layer 119. Count replies.
This commit is contained in:
@@ -628,7 +628,7 @@ void ActionsFiller::addBlockAction(not_null<UserData*> user) {
|
||||
Ui::showPeerHistory(user, ShowAtUnreadMsgId);
|
||||
}
|
||||
} else if (user->isBot()) {
|
||||
user->session().api().blockUser(user);
|
||||
user->session().api().blockPeer(user);
|
||||
} else {
|
||||
window->show(
|
||||
Box(Window::PeerMenuBlockUserBox, window, user, false));
|
||||
|
Reference in New Issue
Block a user