diff --git a/js/models/threads.js b/js/models/threads.js index 4a36df5d99..6e8fd61b02 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; });