Bug 1445004 - Set status text to empty string to clear. r=florian
authorMartin Giger <martin@humanoids.be>
Mon, 12 Mar 2018 20:17:26 +0100
changeset 23569 66fb0dcc4dcfc54be23ec7e48b97cf7d64849e4e
parent 23568 5c4b9489b3ba6b916f83bf5a60794643d37cd212
child 23570 564f5015822e200b76bbb38367684667f2c0187b
push id14230
push usermozilla@jorgk.com
push dateThu, 22 Mar 2018 22:48:26 +0000
treeherdercomm-central@08a17fa4b78b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflorian
bugs1445004
Bug 1445004 - Set status text to empty string to clear. r=florian
mail/components/im/content/imconversation.xml
--- a/mail/components/im/content/imconversation.xml
+++ b/mail/components/im/content/imconversation.xml
@@ -1536,17 +1536,17 @@
 
          switch(aTopic) {
          case "new-text":
            if (this.loaded)
              this.addMsg(aSubject);
            break;
 
          case "status-text-changed":
-           this._statusText = aData;
+           this._statusText = aData || "";
            this.displayStatusText();
            break;
 
          case "replying-to-prompt":
            this.addPrompt(aData);
            break;
 
          case "target-prpl-conversation-changed":