Remove unused function
This commit is contained in:
parent
0aa66fee99
commit
0489e0f902
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user