Skip to content

Commit

Permalink
Show edited and original for outgoing messages
Browse files Browse the repository at this point in the history
  • Loading branch information
FrayxRulez committed Nov 18, 2024
1 parent 1b79cc7 commit 3a98602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Telegram/Views/ChatView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2606,7 +2606,7 @@ private async void Message_ContextRequested(UIElement sender, ContextRequestedEv
bot = senderUser.Type is UserTypeBot;
}

if (message.EditDate != 0 && message.ViaBotUserId == 0 && !bot && message.ReplyMarkup is not ReplyMarkupInlineKeyboard && !message.IsOutgoing)
if (message.EditDate != 0 && message.ViaBotUserId == 0 && !bot && message.ReplyMarkup is not ReplyMarkupInlineKeyboard)
{
var placeholder = new MenuFlyoutItem();
placeholder.Text = Formatter.EditDate(message.EditDate);
Expand All @@ -2616,7 +2616,7 @@ private async void Message_ContextRequested(UIElement sender, ContextRequestedEv
flyout.Items.Add(placeholder);
flyout.CreateFlyoutSeparator();
}
else if (message.ForwardInfo != null && !message.IsSaved && !message.IsVerificationCode && !message.IsOutgoing)
else if (message.ForwardInfo != null && !message.IsSaved && !message.IsVerificationCode)
{
var placeholder = new MenuFlyoutItem();
placeholder.Text = Formatter.ForwardDate(message.ForwardInfo.Date);
Expand Down

0 comments on commit 3a98602

Please sign in to comment.