2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Add call button to Info::Profile top bar.

This commit is contained in:
John Preston
2017-12-07 19:01:41 +04:00
parent 355747d7bf
commit 79398fe6cf
11 changed files with 112 additions and 61 deletions

View File

@@ -524,7 +524,8 @@ void UserData::setCallsStatus(CallsStatus callsStatus) {
}
bool UserData::hasCalls() const {
return (callsStatus() != CallsStatus::Disabled) && (callsStatus() != CallsStatus::Unknown);
return (callsStatus() != CallsStatus::Disabled)
&& (callsStatus() != CallsStatus::Unknown);
}
void ChatData::setPhoto(const MTPChatPhoto &photo) {