mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Show chat intro in an empty chat.
This commit is contained in:
@@ -594,15 +594,15 @@ void ApplyUserUpdate(not_null<UserData*> user, const MTPDuserFull &update) {
|
||||
}
|
||||
|
||||
user->setBusinessDetails(FromMTP(
|
||||
&user->owner(),
|
||||
update.vbusiness_work_hours(),
|
||||
update.vbusiness_location()));
|
||||
update.vbusiness_location(),
|
||||
update.vbusiness_intro()));
|
||||
if (user->isSelf()) {
|
||||
user->owner().businessInfo().applyAwaySettings(
|
||||
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());
|
||||
|
Reference in New Issue
Block a user