1
0
mirror of https://github.com/moparisthebest/FireTray synced 2024-12-22 13:58:48 -05:00

ignore server type 'im' silently for message count

This commit is contained in:
foudfou 2012-09-03 08:23:37 +02:00
parent aaef6a1544
commit 29dac883b9

View File

@ -274,7 +274,9 @@ firetray.Messaging = {
try { try {
let accounts = new this.Accounts(); let accounts = new this.Accounts();
for (let accountServer in accounts) { for (let accountServer in accounts) {
if (!serverTypes[accountServer.type]) { if (accountServer.type === 'im') {
continue; // IM messages are counted elsewhere
} else if (!serverTypes[accountServer.type]) {
F.WARN("'"+accountServer.type+"' server type is not handled"); F.WARN("'"+accountServer.type+"' server type is not handled");
continue; continue;
} }