mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Use Controller::account in MainWindow.
This commit is contained in:
@@ -115,7 +115,7 @@ void activateBotCommand(
|
||||
Ui::showPeerHistory(history, ShowAtTheEndMsgId);
|
||||
auto options = ApiWrap::SendOptions(history);
|
||||
options.replyTo = msgId;
|
||||
Auth().api().shareContact(Auth().user(), options);
|
||||
history->session().api().shareContact(Auth().user(), options);
|
||||
}));
|
||||
} break;
|
||||
|
||||
|
Reference in New Issue
Block a user