diff options
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()); |