Properly unpad incoming sender key messages
This commit is contained in:
parent
ee41e4f71d
commit
b63d8e908c
1 changed files with 1 additions and 1 deletions
|
@ -1285,7 +1285,7 @@ class MessageReceiverInner extends EventTarget {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
if (result instanceof Buffer) {
|
if (result instanceof Buffer) {
|
||||||
return typedArrayToArrayBuffer(result);
|
return this.unpad(typedArrayToArrayBuffer(result));
|
||||||
}
|
}
|
||||||
|
|
||||||
const content = typedArrayToArrayBuffer(result.message());
|
const content = typedArrayToArrayBuffer(result.message());
|
||||||
|
|
Loading…
Reference in a new issue