Fix video timestamps in replies when editing.

This commit is contained in:
John Preston 2020-01-16 11:58:44 +03:00
parent 5aee0f642a
commit 4f71383557

View File

@ -91,6 +91,7 @@ struct HistoryMessageReply : public RuntimeComponent<HistoryMessageReply, Histor
HistoryMessageReply &operator=(const HistoryMessageReply &other) = delete;
HistoryMessageReply &operator=(HistoryMessageReply &&other) {
replyToMsgId = other.replyToMsgId;
replyToDocumentId = other.replyToDocumentId;
std::swap(replyToMsg, other.replyToMsg);
replyToLnk = std::move(other.replyToLnk);
replyToName = std::move(other.replyToName);