diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2020-09-01 15:57:20 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2020-09-01 15:57:20 -0400 |
commit | c45f19f12d3da498075970586a37aed7aaafda5a (patch) | |
tree | 27302fc28d6b89a12fb97f861c949f52ec5dd171 /javascript/olm_post.js | |
parent | 171044f3fca084bd1c5c1f8f4bfe146434b07f0b (diff) | |
parent | 89050dc0b68f0d5f1bf9f9f386f7c2f4ac043f4f (diff) |
Merge branch 'master' into uhoreg/fallback
Diffstat (limited to 'javascript/olm_post.js')
-rw-r--r-- | javascript/olm_post.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/olm_post.js b/javascript/olm_post.js index aed4b69..82dd803 100644 --- a/javascript/olm_post.js +++ b/javascript/olm_post.js @@ -11,7 +11,7 @@ function stack(size_or_array) { } function array_from_string(string) { - return intArrayFromString(string, true); + return string instanceof Uint8Array ? string : intArrayFromString(string, true); } function random_stack(size) { |