merged with fixes

This commit is contained in:
onysd 2026-09-09 02:49:30 +03:00
parent a9e758b712
commit 2f1818d656
176 changed files with 9000 additions and 907 deletions

View file

@ -186,12 +186,7 @@ func richMessagesEqual(a, b *domain.MessageRichMessage) bool {
}
func cloneMessageReply(reply *domain.MessageReply) *domain.MessageReply {
if reply == nil {
return nil
}
clone := *reply
clone.QuoteEntities = append([]domain.MessageEntity(nil), reply.QuoteEntities...)
return &clone
return domain.CloneMessageReply(reply)
}
func cloneMessageForward(forward *domain.MessageForward) *domain.MessageForward {