P2P Network: - Broadcasting Events to Peers and Client Implemented
This commit is contained in:
1 parent
b5cf565a5b
commit
57c586c28b
3 files changed
+2
-7
No files matched your search
@@ -274,7 +274,7 @@ exports.newNetworkModulesWebSocketsNetworkClient = function newNetworkModulesWeb
|
||||
|
||||
function onMenssageFunction(response) {
|
||||
try {
|
||||
if (response.result === 'Ok') {
|
||||
if (response.result === 'Ok' || response.result === 'Warning') {
|
||||
resolve(response.data)
|
||||
} else {
|
||||
console.log('[ERROR] Web Sockets Network Client -> onMenssageFunction -> response.message = ' + response.message)
|
||||
|
||||
Reference in new issue
Block a user