merged with fixes
This commit is contained in:
parent
a9e758b712
commit
2f1818d656
176 changed files with 9000 additions and 907 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue