2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Display online count in the info profile section.

This commit is contained in:
John Preston
2017-10-22 15:07:57 +03:00
parent 508fa14385
commit 856ca22aad
13 changed files with 229 additions and 45 deletions

View File

@@ -143,7 +143,7 @@ auto OnlineStatusText(int count) {
};
auto ChatStatusText(int fullCount, int onlineCount, bool isGroup) {
if (onlineCount > 0 && onlineCount <= fullCount) {
if (onlineCount > 1 && onlineCount <= fullCount) {
return lng_chat_status_members_online(
lt_members_count, MembersStatusText(fullCount),
lt_online_count, OnlineStatusText(onlineCount));