diff options
author | Jesús <heckyel@hyperbola.info> | 2019-09-21 11:52:19 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-09-21 11:52:19 -0500 |
commit | 2a30d9c57c9065ef5a6e00e993ab2c38915aadf3 (patch) | |
tree | d36a12ac1c4beb969d3ad11c971356a1a2a5dd14 /js/vapi-client.js | |
parent | f31fb021b614be7dc212fdebae5926b2b35e2ef4 (diff) | |
download | ematrix-2a30d9c57c9065ef5a6e00e993ab2c38915aadf3.tar.lz ematrix-2a30d9c57c9065ef5a6e00e993ab2c38915aadf3.tar.xz ematrix-2a30d9c57c9065ef5a6e00e993ab2c38915aadf3.zip |
Revert some initialization stuff
Diffstat (limited to 'js/vapi-client.js')
-rw-r--r-- | js/vapi-client.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/vapi-client.js b/js/vapi-client.js index 4c48d03..aeddd81 100644 --- a/js/vapi-client.js +++ b/js/vapi-client.js @@ -26,6 +26,12 @@ 'use strict'; (function (self) { + if (self.vAPI === undefined) { + self.vAPI = {}; + } + + let vAPI = self.vAPI; + vAPI.sessionId = String.fromCharCode(Date.now() % 25 + 97) + Math.random().toString(36).slice(2); |