Bug 776528 - Chat tab title not correctly updated after closing a selected conversation. r=clokep.
This commit is contained in:
Родитель
9ef10ca2db
Коммит
10d3a3c54a
|
@ -101,7 +101,6 @@ UIConversation.prototype = {
|
|||
|
||||
delete this._currentTargetId;
|
||||
this.notifyObservers(this, "ui-conversation-closed");
|
||||
Services.obs.notifyObservers(this, "ui-conversation-closed", null);
|
||||
return true;
|
||||
},
|
||||
|
||||
|
@ -395,6 +394,7 @@ ConversationsService.prototype = {
|
|||
delete this._uiConv[aPurpleConversation.id];
|
||||
if (contactId.value)
|
||||
delete this._uiConvByContactId[contactId.value];
|
||||
Services.obs.notifyObservers(uiConv, "ui-conversation-closed", null);
|
||||
}
|
||||
this.forgetConversation(aPurpleConversation);
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче