diff options
author | George Hazan <ghazan@miranda.im> | 2022-10-26 12:42:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-10-26 12:42:50 +0300 |
commit | 976a3f93925a28feb107ae505834ce7a728a42b8 (patch) | |
tree | 71f02b66d9ac2498ae137f8966aa3c82ced1e525 /protocols/WhatsApp/src/appsync.cpp | |
parent | b7959c62b1c479277a211504733aed14b6b914ff (diff) |
WhatsApp: message sending
Diffstat (limited to 'protocols/WhatsApp/src/appsync.cpp')
-rw-r--r-- | protocols/WhatsApp/src/appsync.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/WhatsApp/src/appsync.cpp b/protocols/WhatsApp/src/appsync.cpp index 040983c666..034c51cab6 100644 --- a/protocols/WhatsApp/src/appsync.cpp +++ b/protocols/WhatsApp/src/appsync.cpp @@ -105,7 +105,7 @@ void WhatsAppProto::OnIqServerSync(const WANode &node) continue; } - proto::SyncdSnapshot snapshot(unpad16buf(buf)); + proto::SyncdSnapshot snapshot(unpadBuffer16(buf)); if (!snapshot) { debugLogA("%s: unable to decode snapshot, skipping"); continue; @@ -189,7 +189,7 @@ void WhatsAppProto::ParsePatch(WACollection *pColl, const Wa__SyncdRecord *rec, return; } - proto::SyncActionData data(unpad16buf(decoded)); + proto::SyncActionData data(unpadBuffer16(decoded)); // debugLogA("Applying patch for %s{%d}: %s", pColl->szName.get(), data.version, data.Utf8DebugString().c_str()); |