Bug 945711 - [Messages] We lose the 'body' information when migrating. r=vicamo a=koi+
authorGene Lian <clian@mozilla.com>
Mon, 09 Dec 2013 20:24:59 +0800
changeset 175202 6bb84d0bc17078bb6f1f846efde5f7d2072c032d
parent 175201 11ec4ba33de4391799a74a27eec84b5fd0dd70ef
child 175203 14ee95c5c5239baeb3fab6e5ecbbc4c9d257f57a
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvicamo, koi
bugs945711
milestone28.0a2
Bug 945711 - [Messages] We lose the 'body' information when migrating. r=vicamo a=koi+
dom/mobilemessage/src/gonk/MobileMessageDatabaseService.js
--- a/dom/mobilemessage/src/gonk/MobileMessageDatabaseService.js
+++ b/dom/mobilemessage/src/gonk/MobileMessageDatabaseService.js
@@ -919,16 +919,17 @@ MobileMessageDatabaseService.prototype =
         }
         cursor.continue();
         return;
       }
 
       // Participant store cursor iteration done.
       if (!invalidParticipantIds.length) {
         next();
+        return;
       }
 
       // Find affected thread.
       let wrongThreads = [];
       threadStore.openCursor().onsuccess = function(event) {
         let threadCursor = event.target.result;
         if (threadCursor) {
           let threadRecord = threadCursor.value;