Commit fadbf2d1 authored by JC Brand's avatar JC Brand

JSHint bitching about wrapped or statements

parent 6ea9d177
......@@ -3228,12 +3228,9 @@
showInRoster: function () {
var chatStatus = this.get('chat_status');
if ((converse.show_only_online_users && chatStatus !== 'online')
|| (converse.hide_offline_users && chatStatus === 'offline')) {
if ((converse.show_only_online_users && chatStatus !== 'online') || (converse.hide_offline_users && chatStatus === 'offline')) {
// If pending or requesting, show
if ((this.get('ask') === 'subscribe')
|| (this.get('subscription') === 'from')
|| (this.get('requesting') === true)) {
if ((this.get('ask') === 'subscribe') || (this.get('subscription') === 'from') || (this.get('requesting') === true)) {
return true;
}
return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment