IS_GUN_AUTH event should not be encrypted
This commit is contained in:
parent
ca047a4441
commit
38dabe850b
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ const { Buffer } = require('buffer')
|
||||||
const APIKeyPair = new Map()
|
const APIKeyPair = new Map()
|
||||||
const authorizedDevices = new Map()
|
const authorizedDevices = new Map()
|
||||||
|
|
||||||
const nonEncryptedEvents = ['ping', 'disconnect']
|
const nonEncryptedEvents = ['ping', 'disconnect', 'IS_GUN_AUTH']
|
||||||
|
|
||||||
const Encryption = {
|
const Encryption = {
|
||||||
isNonEncrypted: event => nonEncryptedEvents.includes(event),
|
isNonEncrypted: event => nonEncryptedEvents.includes(event),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue