Remove unused function

This commit is contained in:
JC Brand 2022-09-01 17:28:29 +02:00
parent 0aa66fee99
commit 0489e0f902

View File

@ -187,11 +187,6 @@ const RosterContacts = Collection.extend({
}
},
getNumOnlineContacts () {
const ignored = ['offline', 'unavailable'];
return sum(this.models.filter(m => !ignored.includes(m.presence.get('show'))));
},
/**
* Handle roster updates from the XMPP server.
* See: https://xmpp.org/rfcs/rfc6121.html#roster-syntax-actions-push