mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Improve support accounts presentation.
- Change "Bot Info" to "User Info". - Remove "Block user" and "Add to Group" buttons from profile page. - Allow revoking messages from support chats.
This commit is contained in:
@@ -136,7 +136,7 @@ rpl::producer<bool> IsContactValue(not_null<UserData*> user) {
|
||||
}
|
||||
|
||||
rpl::producer<bool> CanInviteBotToGroupValue(not_null<UserData*> user) {
|
||||
if (!user->botInfo) {
|
||||
if (!user->isBot() || user->isSupport()) {
|
||||
return rpl::single(false);
|
||||
}
|
||||
return Notify::PeerUpdateValue(
|
||||
|
Reference in New Issue
Block a user