mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Show chats list badge only for non-empty calls.
This commit is contained in:
@@ -443,7 +443,7 @@ bool IsUserOnline(not_null<UserData*> user) {
|
||||
}
|
||||
|
||||
bool ChannelHasActiveCall(not_null<ChannelData*> channel) {
|
||||
return (channel->flags() & MTPDchannel::Flag::f_call_active);
|
||||
return (channel->flags() & MTPDchannel::Flag::f_call_not_empty);
|
||||
}
|
||||
|
||||
} // namespace Data
|
||||
|
Reference in New Issue
Block a user