Bug 772773 - "is typing..." message in chat box doesn't disappear. r=florian.
--- a/mail/components/im/content/imconversation.xml
+++ b/mail/components/im/content/imconversation.xml
@@ -1164,21 +1164,16 @@
return;
switch(aTopic) {
case "new-text":
if (this.loaded)
this.addMsg(aSubject);
break;
- case "update-typing":
- if (this.tab && this.tab.selected)
- this.updateTyping();
- break;
-
case "status-text-changed":
this._statusText = aData;
this.displayStatusText();
break;
case "replying-to-prompt":
this.addPrompt(aData);
break;
@@ -1186,16 +1181,17 @@
case "target-purple-conversation-changed":
case "update-conv-title":
if (this.tab)
this.tab.setAttribute("label", this.conv.title);
// Update the status too.
case "update-buddy-status":
case "update-buddy-icon":
case "update-conv-chatleft":
+ case "update-typing":
if (this.tab && this.tab.selected)
this.updateConvStatus();
break;
case "chat-buddy-add":
aSubject.QueryInterface(Ci.nsISimpleEnumerator);
while (aSubject.hasMoreElements())
this.addBuddy(aSubject.getNext());