Send proper sync message for edit msg in all contexts

This commit is contained in:
Josh Perez 2023-05-09 21:25:37 -04:00 committed by GitHub
parent 2177a79080
commit 46942ece00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 38 additions and 7 deletions

View file

@ -2027,8 +2027,13 @@ export default class MessageSender {
? Proto.DataMessage.encode(proto.dataMessage).finish()
: undefined;
const editMessage = proto.editMessage
? Proto.EditMessage.encode(proto.editMessage).finish()
: undefined;
return Promise.resolve({
dataMessage,
editMessage,
errors: [],
failoverIdentifiers: [],
successfulIdentifiers: [],