浏览代码

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.
master
Дамян Минков 3 年前
父节点
当前提交
35572700bf
没有帐户链接到提交者的电子邮件
共有 3 个文件被更改,包括 11 次插入6 次删除
  1. 5
    5
      package-lock.json
  2. 1
    1
      package.json
  3. 5
    0
      resources/prosody-plugins/mod_jiconop.lua

+ 5
- 5
package-lock.json 查看文件

73
         "jquery-i18next": "1.2.1",
73
         "jquery-i18next": "1.2.1",
74
         "js-md5": "0.6.1",
74
         "js-md5": "0.6.1",
75
         "jwt-decode": "2.2.0",
75
         "jwt-decode": "2.2.0",
76
-        "lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1436.0.0+d5c46952/lib-jitsi-meet.tgz",
76
+        "lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1437.0.0+966fcd93/lib-jitsi-meet.tgz",
77
         "lodash": "4.17.21",
77
         "lodash": "4.17.21",
78
         "moment": "2.29.2",
78
         "moment": "2.29.2",
79
         "moment-duration-format": "2.2.2",
79
         "moment-duration-format": "2.2.2",
12132
     },
12132
     },
12133
     "node_modules/lib-jitsi-meet": {
12133
     "node_modules/lib-jitsi-meet": {
12134
       "version": "0.0.0",
12134
       "version": "0.0.0",
12135
-      "resolved": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1436.0.0+d5c46952/lib-jitsi-meet.tgz",
12136
-      "integrity": "sha512-GmqtqD+6QcDI76gn8ev5zpKOuHs9afqu2MhldSGJQ31NhmCqOo3SLlQltqnkdo/x2hBd5ZAxZz2/3b2A+p+Eig==",
12135
+      "resolved": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1437.0.0+966fcd93/lib-jitsi-meet.tgz",
12136
+      "integrity": "sha512-kJx4bvMHLVWOj7cSNBxF6I3P0gnwjCoP2ECSiJWfun1Bi/O58tPAuz7skIot4y9fU+WpeTzuINayLCCteLIhxg==",
12137
       "license": "Apache-2.0",
12137
       "license": "Apache-2.0",
12138
       "dependencies": {
12138
       "dependencies": {
12139
         "@jitsi/js-utils": "2.0.0",
12139
         "@jitsi/js-utils": "2.0.0",
29276
       }
29276
       }
29277
     },
29277
     },
29278
     "lib-jitsi-meet": {
29278
     "lib-jitsi-meet": {
29279
-      "version": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1436.0.0+d5c46952/lib-jitsi-meet.tgz",
29280
-      "integrity": "sha512-GmqtqD+6QcDI76gn8ev5zpKOuHs9afqu2MhldSGJQ31NhmCqOo3SLlQltqnkdo/x2hBd5ZAxZz2/3b2A+p+Eig==",
29279
+      "version": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1437.0.0+966fcd93/lib-jitsi-meet.tgz",
29280
+      "integrity": "sha512-kJx4bvMHLVWOj7cSNBxF6I3P0gnwjCoP2ECSiJWfun1Bi/O58tPAuz7skIot4y9fU+WpeTzuINayLCCteLIhxg==",
29281
       "requires": {
29281
       "requires": {
29282
         "@jitsi/js-utils": "2.0.0",
29282
         "@jitsi/js-utils": "2.0.0",
29283
         "@jitsi/logger": "2.0.0",
29283
         "@jitsi/logger": "2.0.0",

+ 1
- 1
package.json 查看文件

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

+ 5
- 0
resources/prosody-plugins/mod_jiconop.lua 查看文件

17
     module:add_identity("server", "region", region_name_config);
17
     module:add_identity("server", "region", region_name_config);
18
 end
18
 end
19
 
19
 
20
+local release_number_config = module:get_option_string('release_number');
21
+if release_number_config then
22
+    module:add_identity("server", "release", release_number_config);
23
+end
24
+
20
 -- this is after xmpp-bind, the moment a client has resource and can be contacted
25
 -- this is after xmpp-bind, the moment a client has resource and can be contacted
21
 module:hook("resource-bind", function (event)
26
 module:hook("resource-bind", function (event)
22
     local session = event.session;
27
     local session = event.session;

正在加载...
取消
保存