Enables sending release number from backend. (#11552)

* chore(deps) lib-jitsi-meet@latest

https://github.com/jitsi/lib-jitsi-meet/compare/v1436.0.0+d5c46952...v1437.0.0+966fcd93

* squash: Enables sending release number from backend.
This commit is contained in:
Дамян Минков 2022-05-18 13:04:49 -05:00 committed by GitHub
parent 5df774c569
commit 35572700bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 6 deletions

10
package-lock.json generated
View File

@ -73,7 +73,7 @@
"jquery-i18next": "1.2.1", "jquery-i18next": "1.2.1",
"js-md5": "0.6.1", "js-md5": "0.6.1",
"jwt-decode": "2.2.0", "jwt-decode": "2.2.0",
"lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1436.0.0+d5c46952/lib-jitsi-meet.tgz", "lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1437.0.0+966fcd93/lib-jitsi-meet.tgz",
"lodash": "4.17.21", "lodash": "4.17.21",
"moment": "2.29.2", "moment": "2.29.2",
"moment-duration-format": "2.2.2", "moment-duration-format": "2.2.2",
@ -12132,8 +12132,8 @@
}, },
"node_modules/lib-jitsi-meet": { "node_modules/lib-jitsi-meet": {
"version": "0.0.0", "version": "0.0.0",
"resolved": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1436.0.0+d5c46952/lib-jitsi-meet.tgz", "resolved": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1437.0.0+966fcd93/lib-jitsi-meet.tgz",
"integrity": "sha512-GmqtqD+6QcDI76gn8ev5zpKOuHs9afqu2MhldSGJQ31NhmCqOo3SLlQltqnkdo/x2hBd5ZAxZz2/3b2A+p+Eig==", "integrity": "sha512-kJx4bvMHLVWOj7cSNBxF6I3P0gnwjCoP2ECSiJWfun1Bi/O58tPAuz7skIot4y9fU+WpeTzuINayLCCteLIhxg==",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@jitsi/js-utils": "2.0.0", "@jitsi/js-utils": "2.0.0",
@ -29276,8 +29276,8 @@
} }
}, },
"lib-jitsi-meet": { "lib-jitsi-meet": {
"version": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1436.0.0+d5c46952/lib-jitsi-meet.tgz", "version": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1437.0.0+966fcd93/lib-jitsi-meet.tgz",
"integrity": "sha512-GmqtqD+6QcDI76gn8ev5zpKOuHs9afqu2MhldSGJQ31NhmCqOo3SLlQltqnkdo/x2hBd5ZAxZz2/3b2A+p+Eig==", "integrity": "sha512-kJx4bvMHLVWOj7cSNBxF6I3P0gnwjCoP2ECSiJWfun1Bi/O58tPAuz7skIot4y9fU+WpeTzuINayLCCteLIhxg==",
"requires": { "requires": {
"@jitsi/js-utils": "2.0.0", "@jitsi/js-utils": "2.0.0",
"@jitsi/logger": "2.0.0", "@jitsi/logger": "2.0.0",

View File

@ -78,7 +78,7 @@
"jquery-i18next": "1.2.1", "jquery-i18next": "1.2.1",
"js-md5": "0.6.1", "js-md5": "0.6.1",
"jwt-decode": "2.2.0", "jwt-decode": "2.2.0",
"lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1436.0.0+d5c46952/lib-jitsi-meet.tgz", "lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1437.0.0+966fcd93/lib-jitsi-meet.tgz",
"lodash": "4.17.21", "lodash": "4.17.21",
"moment": "2.29.2", "moment": "2.29.2",
"moment-duration-format": "2.2.2", "moment-duration-format": "2.2.2",

View File

@ -17,6 +17,11 @@ if region_name_config then
module:add_identity("server", "region", region_name_config); module:add_identity("server", "region", region_name_config);
end end
local release_number_config = module:get_option_string('release_number');
if release_number_config then
module:add_identity("server", "release", release_number_config);
end
-- this is after xmpp-bind, the moment a client has resource and can be contacted -- this is after xmpp-bind, the moment a client has resource and can be contacted
module:hook("resource-bind", function (event) module:hook("resource-bind", function (event)
local session = event.session; local session = event.session;