From 09b3e1eecdd83c738a1bcd1aca7319206eaf7091 Mon Sep 17 00:00:00 2001
From: Richard van der Hoff <richard@matrix.org>
Date: Thu, 15 Dec 2016 16:28:30 +0000
Subject: [PATCH] typo

---
 javascript/olm_post.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/javascript/olm_post.js b/javascript/olm_post.js
index 752279a..fd74122 100644
--- a/javascript/olm_post.js
+++ b/javascript/olm_post.js
@@ -354,7 +354,7 @@ Session.prototype['encrypt'] = restore_stack(function(
 Session.prototype['decrypt'] = restore_stack(function(
     message_type, message
 ) {
-    var message_buffer, plaintext_buffer, max_pliantext_length;
+    var message_buffer, plaintext_buffer, max_plaintext_length;
 
     try {
         message_buffer = malloc(message.length);
-- 
GitLab