@evo/chat-core
Advanced tools
Comparing version 0.5.6 to 0.5.7
@@ -643,6 +643,8 @@ 'use strict'; | ||
} else if (data.subject === c.BESIDA_SWINDON_UNBAN_SUBJECT) { | ||
baseStore = baseStore.setIn(statusImmPath, c.CHAT_STATUS_ACTIVE); | ||
baseStore = baseStore.setIn(bansImmPath, baseStore.getIn(bansImmPath).filter(function (user) { | ||
return user.role === data.role; | ||
})); | ||
if (!baseStore.getIn(bansImmPath).size()) { | ||
baseStore = baseStore.setIn(statusImmPath, c.CHAT_STATUS_ACTIVE); | ||
} | ||
} | ||
@@ -649,0 +651,0 @@ |
{ | ||
"name": "@evo/chat-core", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"description": "core Besida module with base functional set for chat", | ||
"author": "d.medvinskiy", | ||
"license": "ISC", | ||
"repository": { | ||
@@ -15,2 +17,3 @@ "type": "git", | ||
"build": "babel src/ -d lib/", | ||
"build-w": "babel src/ -d lib/ --watch", | ||
"test": "jest", | ||
@@ -22,4 +25,2 @@ "test-w": "jest --watchAll", | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"devDependencies": { | ||
@@ -26,0 +27,0 @@ "swindon": "0.5.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
56301
1011
2