2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Start editing chat intro in Telegram Business.

This commit is contained in:
John Preston
2024-03-19 10:09:00 +04:00
parent cf1d0677d1
commit 191c35914f
30 changed files with 1056 additions and 44 deletions

View File

@@ -601,6 +601,8 @@ void ApplyUserUpdate(not_null<UserData*> user, const MTPDuserFull &update) {
FromMTP(&user->owner(), update.vbusiness_away_message()));
user->owner().businessInfo().applyGreetingSettings(
FromMTP(&user->owner(), update.vbusiness_greeting_message()));
user->owner().businessInfo().applyChatIntro(
FromMTP(&user->owner(), update.vbusiness_intro()));
}
user->owner().stories().apply(user, update.vstories());