2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fixed editing of last message on Up arrow key when message is forwarded.

Fixed #9782.
This commit is contained in:
23rd
2020-12-22 07:56:51 +03:00
parent c14313d64a
commit 055ce1ee24

View File

@@ -776,7 +776,8 @@ bool HistoryItem::canBeEditedFromHistory() const {
}
if ((IsServerMsgId(id) || isScheduled())
&& !serviceMsg()
&& (out() || history()->peer->isSelf())) {
&& (out() || history()->peer->isSelf())
&& !Has<HistoryMessageForwarded>()) {
return true;
}
return false;