mirror of
https://github.com/moparisthebest/FireTray
synced 2024-12-22 22:08:49 -05:00
ignore server type 'im' silently for message count
This commit is contained in:
parent
aaef6a1544
commit
29dac883b9
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user