Skip to content

Commit

Permalink
Show "history cleared"
Browse files Browse the repository at this point in the history
  • Loading branch information
FrayxRulez committed Apr 1, 2024
1 parent fbb60f0 commit 550a340
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Telegram/Controls/Cells/ChatCell.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1508,6 +1508,12 @@ private string UpdateFromLabel(Chat chat, ChatPosition position, out bool draft)
var message = chat.LastMessage;
if (message == null)
{
if (chat.LastReadOutboxMessageId != 0)
{
draft = false;
return Strings.HistoryCleared;
}

draft = false;
return string.Empty;
}
Expand Down

0 comments on commit 550a340

Please sign in to comment.