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

@ -159,11 +159,6 @@ func clonePeerPtr(in *domain.Peer) *domain.Peer {
return &out
}
func cloneMessageReply(in *domain.MessageReply) *domain.MessageReply {
if in == nil {
return nil
}
out := *in
out.QuoteEntities = append([]domain.MessageEntity(nil), in.QuoteEntities...)
return &out
func cloneMessageReply(reply *domain.MessageReply) *domain.MessageReply {
return domain.CloneMessageReply(reply)
}