mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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