mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Added menu item to bot info for bot management.
This commit is contained in:
@@ -982,7 +982,9 @@ void Filler::addManageChat() {
|
||||
}
|
||||
const auto peer = _peer;
|
||||
const auto navigation = _controller;
|
||||
const auto text = (peer->isChat() || peer->isMegagroup())
|
||||
const auto text = peer->isUser()
|
||||
? tr::lng_manage_bot_title(tr::now)
|
||||
: (peer->isChat() || peer->isMegagroup())
|
||||
? tr::lng_manage_group_title(tr::now)
|
||||
: tr::lng_manage_channel_title(tr::now);
|
||||
_addAction(text, [=] {
|
||||
|
Reference in New Issue
Block a user