fix display error

This commit is contained in:
Laura Hausmann 2019-12-17 23:16:52 +01:00
parent 539e2fb732
commit 7af8cffbef
Signed by: zotan
GPG key ID: 5EC1D38FFC321311

View file

@ -351,7 +351,7 @@ namespace telegram {
chat.Title = TruncateString(chat.Title, 20);
prefix = $"[{Ansi.Red}sec {Ansi.ResetAll}{chat.Title}]";
prefix = $"[{Ansi.Red}sec {Ansi.ResetAll}{chat.Title}";
lock (@lock) {
messageQueue.Add($"{Ansi.Yellow}[tgcli] Opening secret chat: {chat.Title}");
messageQueue.Add($"{Ansi.Yellow}" + $"[tgcli] You have {chat.UnreadCount} unread message" + $"{(chat.UnreadCount == 1 ? "." : "s.")}");