fix: Avoid add "null" to cc in communication in timeline (#25092)

* Avoid add "null" to cc

* chore: extend fix to BCC

---------

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
This commit is contained in:
Ankush Menat 2024-02-27 14:45:37 +05:30 committed by GitHub
commit f086b7febd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -575,8 +575,8 @@ class FormTimeline extends BaseTimeline {
}
if (reply_all) {
// if reply_all then add cc and bcc as well.
args.cc += communication_doc.cc;
args.bcc = communication_doc.bcc;
args.cc += cstr(communication_doc.cc);
args.bcc = cstr(communication_doc.bcc);
}
}