Issue #1258 - Part 10: Remove chat core bits

This commit is contained in:
Matt A. Tobin 2019-11-12 21:31:48 -05:00 • committed by Roy Tam
commit 65944ea58a
8 changed files with 5 additions and 64 deletions

View file

@ -899,9 +899,6 @@ function updateButtons(tree, account) {
* Called only by Thunderbird.
*/
function initAccountActionsButtons(menupopup) {
if (!Services.prefs.getBoolPref("mail.chat.enabled"))
document.getElementById("accountActionsAddIMAccount").hidden = true;
updateItems(
document.getElementById("accounttree"),
getCurrentAccount(),
@ -1486,9 +1483,6 @@ var gAccountTree = {
try {
server = account.incomingServer;
if (server.type == "im" && !Services.prefs.getBoolPref("mail.chat.enabled"))
continue;
accountName = server.prettyName;
// Now add our panels.