From 0036e4ef74491a60f58866fcfc4ced7e75e08b73 Mon Sep 17 00:00:00 2001 From: lilia Date: Fri, 17 Oct 2014 13:11:08 -0700 Subject: [PATCH] Store group ids as strings --- js/models/threads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/models/threads.js b/js/models/threads.js index 4a36df5d9..6e8fd61b0 100644 --- a/js/models/threads.js +++ b/js/models/threads.js @@ -76,7 +76,7 @@ var Whisper = Whisper || {}; }; var thread = this.findOrCreate(attributes); return textsecure.messaging.createGroup(recipients, name).then(function(groupId) { - thread.set('groupId', groupId); + thread.set('groupId', getString(groupId)); thread.save(); return thread; });