Bug 1177304 - Correct assigning LHS for statusType and statusText in imConversation.js. r=clokep.
authorAbdelrhman Ahmed <a.ahmed1026@gmail.com>
Wed, 24 Jun 2015 18:12:00 -0400
changeset 22810 6b05d9c742e9639d2b1d28e76a632fd31697c2ae
parent 22809 4b1135c0e1a145be848335b1255bad921bff9cdb
child 22811 02713c0869c2e9704a038f3d4068e9dba5b3e519
push id1443
push usermbanner@mozilla.com
push dateMon, 10 Aug 2015 18:31:17 +0000
treeherdercomm-beta@8fe07d686c22 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersclokep
bugs1177304
Bug 1177304 - Correct assigning LHS for statusType and statusText in imConversation.js. r=clokep.
chat/components/src/imConversations.js
--- a/chat/components/src/imConversations.js
+++ b/chat/components/src/imConversations.js
@@ -130,17 +130,17 @@ UIConversation.prototype = {
       aPrplConversation.addObserver(this.observeConv.bind(this, id));
     }
 
     let shouldNotify = this._currentTargetId;
     this._currentTargetId = id;
     if (!this.isChat) {
       let buddy = this.buddy;
       if (buddy)
-        ({statusType: this.statusType, statusText: this.statusText}) = buddy;
+        ({statusType: this.statusType, statusText: this.statusText} = buddy);
     }
     if (shouldNotify) {
       this.notifyObservers(this, "target-prpl-conversation-changed");
       let target = this.target;
       let params = [target.title, target.account.protocol.name];
       this.systemMessage(bundle.formatStringFromName("targetChanged",
                                                      params, params.length));
     }