mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Show location and working hours in profile.
This commit is contained in:
@@ -280,6 +280,7 @@ const Data::BusinessDetails &UserData::businessDetails() const {
|
||||
}
|
||||
|
||||
void UserData::setBusinessDetails(Data::BusinessDetails details) {
|
||||
details.hours = details.hours.normalized();
|
||||
if ((!details && !_businessDetails)
|
||||
|| (details && _businessDetails && details == *_businessDetails)) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user