commit ed3d3f0998f24ab990440a74397da59202636c01
parent a558b1c7e112107414088f5a55afbde762c18dcb
Author: William Morgan <wmorgan-sup@masanjin.net>
Date: Sat, 26 Sep 2009 07:44:45 -0700
bugfix: encrypted messages not being chunked correctly
Thansk to Michael Stapelberg
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/message.rb b/lib/sup/message.rb
@@ -413,7 +413,7 @@ private
notice, sig, decryptedm = CryptoManager.decrypt payload
if decryptedm # managed to decrypt
children = message_to_chunks(decryptedm, true)
- [notice, sig, children]
+ [notice, sig] + children
else
[notice]
end