mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Removed username from public data members of UserData.
This commit is contained in:
@@ -3559,7 +3559,7 @@ void ApiWrap::sendBotStart(
|
||||
: bot.get())));
|
||||
message.textWithTags = { u"/start"_q, TextWithTags::Tags() };
|
||||
if (chat) {
|
||||
message.textWithTags.text += '@' + bot->username;
|
||||
message.textWithTags.text += '@' + bot->username();
|
||||
}
|
||||
sendMessage(std::move(message));
|
||||
return;
|
||||
|
Reference in New Issue
Block a user