You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-02 17:02:31 +03:00
@@ -413,7 +413,7 @@ export function encodeBase64(uint8Array) {
|
|||||||
* @return {string} The unpadded base64.
|
* @return {string} The unpadded base64.
|
||||||
*/
|
*/
|
||||||
export function encodeUnpaddedBase64(uint8Array) {
|
export function encodeUnpaddedBase64(uint8Array) {
|
||||||
return encodeBase64(uint8Array).replace(/=$/g, '');
|
return encodeBase64(uint8Array).replace(/=+$/g, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user