mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Fixed editing of last message on Up arrow key when message is forwarded.
Fixed #9782.
This commit is contained in:
parent
c14313d64a
commit
055ce1ee24
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue