mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Fixed editing of last message on Up arrow key when message is forwarded.
Fixed #9782.
This commit is contained in:
@@ -776,7 +776,8 @@ bool HistoryItem::canBeEditedFromHistory() const {
|
|||||||
}
|
}
|
||||||
if ((IsServerMsgId(id) || isScheduled())
|
if ((IsServerMsgId(id) || isScheduled())
|
||||||
&& !serviceMsg()
|
&& !serviceMsg()
|
||||||
&& (out() || history()->peer->isSelf())) {
|
&& (out() || history()->peer->isSelf())
|
||||||
|
&& !Has<HistoryMessageForwarded>()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user