@sparkelf/dsh-group-chat 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +144 -131
- package/lib/client.js.map +1 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -125,6 +125,7 @@ window.__ModuleLoader__.load({
|
|
|
125
125
|
const suffix = path === void 0 || path.length === 0 ? "" : `?path=${encodeURIComponent(path)}`;
|
|
126
126
|
return call(`/directories${suffix}`);
|
|
127
127
|
};
|
|
128
|
+
const readRoomState = (roomId) => call(`/rooms/${encodeURIComponent(roomId)}/state`);
|
|
128
129
|
const listEvents = (roomId, cursor) => {
|
|
129
130
|
const suffix = cursor === void 0 ? "" : `?cursor=${encodeURIComponent(cursor)}`;
|
|
130
131
|
return call(`/rooms/${encodeURIComponent(roomId)}/events${suffix}`);
|
|
@@ -512,11 +513,11 @@ window.__ModuleLoader__.load({
|
|
|
512
513
|
document.head.appendChild(tag);
|
|
513
514
|
}
|
|
514
515
|
var Avatar_module_css_default = {
|
|
516
|
+
"over": "Ohch6W_over",
|
|
515
517
|
"md": "Ohch6W_md",
|
|
516
518
|
"avatar": "Ohch6W_avatar",
|
|
517
519
|
"stack": "Ohch6W_stack",
|
|
518
|
-
"sm": "Ohch6W_sm"
|
|
519
|
-
"over": "Ohch6W_over"
|
|
520
|
+
"sm": "Ohch6W_sm"
|
|
520
521
|
};
|
|
521
522
|
//#endregion
|
|
522
523
|
//#region src/client/Avatar.tsx
|
|
@@ -556,13 +557,13 @@ window.__ModuleLoader__.load({
|
|
|
556
557
|
document.head.appendChild(tag);
|
|
557
558
|
}
|
|
558
559
|
var Picker_module_css_default = {
|
|
560
|
+
"row": "sKjJ-a_row",
|
|
561
|
+
"note": "sKjJ-a_note",
|
|
559
562
|
"box": "sKjJ-a_box",
|
|
560
|
-
"
|
|
563
|
+
"label": "sKjJ-a_label",
|
|
561
564
|
"secondary": "sKjJ-a_secondary",
|
|
562
|
-
"note": "sKjJ-a_note",
|
|
563
|
-
"row": "sKjJ-a_row",
|
|
564
565
|
"list": "sKjJ-a_list",
|
|
565
|
-
"
|
|
566
|
+
"rowActive": "sKjJ-a_rowActive"
|
|
566
567
|
};
|
|
567
568
|
//#endregion
|
|
568
569
|
//#region src/client/Picker.tsx
|
|
@@ -735,11 +736,11 @@ window.__ModuleLoader__.load({
|
|
|
735
736
|
document.head.appendChild(tag);
|
|
736
737
|
}
|
|
737
738
|
var PresetSelect_module_css_default = {
|
|
739
|
+
"trigger": "xjnmxG_trigger",
|
|
740
|
+
"row": "xjnmxG_row",
|
|
738
741
|
"description": "xjnmxG_description",
|
|
739
742
|
"name": "xjnmxG_name",
|
|
740
|
-
"
|
|
741
|
-
"triggerLabel": "xjnmxG_triggerLabel",
|
|
742
|
-
"row": "xjnmxG_row"
|
|
743
|
+
"triggerLabel": "xjnmxG_triggerLabel"
|
|
743
744
|
};
|
|
744
745
|
//#endregion
|
|
745
746
|
//#region src/client/PresetSelect.tsx
|
|
@@ -997,23 +998,23 @@ window.__ModuleLoader__.load({
|
|
|
997
998
|
document.head.appendChild(tag);
|
|
998
999
|
}
|
|
999
1000
|
var CreateRoomDialog_module_css_default = {
|
|
1000
|
-
"
|
|
1001
|
-
"warn": "Z3w8WW_warn",
|
|
1001
|
+
"switches": "Z3w8WW_switches",
|
|
1002
1002
|
"triggerExtra": "Z3w8WW_triggerExtra",
|
|
1003
|
-
"
|
|
1004
|
-
"field": "Z3w8WW_field",
|
|
1003
|
+
"pill": "Z3w8WW_pill",
|
|
1005
1004
|
"pillActive": "Z3w8WW_pillActive",
|
|
1006
1005
|
"footer": "Z3w8WW_footer",
|
|
1007
|
-
"switches": "Z3w8WW_switches",
|
|
1008
|
-
"policyRow": "Z3w8WW_policyRow",
|
|
1009
|
-
"memberRow": "Z3w8WW_memberRow",
|
|
1010
|
-
"memberList": "Z3w8WW_memberList",
|
|
1011
1006
|
"memberBadge": "Z3w8WW_memberBadge",
|
|
1012
|
-
"
|
|
1013
|
-
"
|
|
1014
|
-
"pill": "Z3w8WW_pill",
|
|
1007
|
+
"body": "Z3w8WW_body",
|
|
1008
|
+
"memberList": "Z3w8WW_memberList",
|
|
1015
1009
|
"memberName": "Z3w8WW_memberName",
|
|
1016
|
-
"
|
|
1010
|
+
"field": "Z3w8WW_field",
|
|
1011
|
+
"label": "Z3w8WW_label",
|
|
1012
|
+
"notice": "Z3w8WW_notice",
|
|
1013
|
+
"hint": "Z3w8WW_hint",
|
|
1014
|
+
"policyRow": "Z3w8WW_policyRow",
|
|
1015
|
+
"warn": "Z3w8WW_warn",
|
|
1016
|
+
"memberRow": "Z3w8WW_memberRow",
|
|
1017
|
+
"error": "Z3w8WW_error"
|
|
1017
1018
|
};
|
|
1018
1019
|
//#endregion
|
|
1019
1020
|
//#region src/client/CreateRoomDialog.tsx
|
|
@@ -1280,28 +1281,28 @@ window.__ModuleLoader__.load({
|
|
|
1280
1281
|
document.head.appendChild(tag);
|
|
1281
1282
|
}
|
|
1282
1283
|
var InviteDialog_module_css_default = {
|
|
1283
|
-
"
|
|
1284
|
-
"dialog": "r4uCba_dialog",
|
|
1284
|
+
"visuallyHidden": "r4uCba_visuallyHidden",
|
|
1285
1285
|
"list": "r4uCba_list",
|
|
1286
|
-
"
|
|
1286
|
+
"rowHandle": "r4uCba_rowHandle",
|
|
1287
1287
|
"row": "r4uCba_row",
|
|
1288
|
-
"
|
|
1289
|
-
"
|
|
1288
|
+
"errorRow": "r4uCba_errorRow",
|
|
1289
|
+
"chipName": "r4uCba_chipName",
|
|
1290
|
+
"check": "r4uCba_check",
|
|
1290
1291
|
"rowName": "r4uCba_rowName",
|
|
1291
|
-
"
|
|
1292
|
+
"searchRow": "r4uCba_searchRow",
|
|
1292
1293
|
"spinner": "r4uCba_spinner",
|
|
1294
|
+
"chipRemove": "r4uCba_chipRemove",
|
|
1295
|
+
"chip": "r4uCba_chip",
|
|
1293
1296
|
"chips": "r4uCba_chips",
|
|
1294
|
-
"
|
|
1295
|
-
"
|
|
1296
|
-
"
|
|
1297
|
+
"error": "r4uCba_error",
|
|
1298
|
+
"checkHidden": "r4uCba_checkHidden",
|
|
1299
|
+
"search": "r4uCba_search",
|
|
1297
1300
|
"inviteSpin": "r4uCba_inviteSpin",
|
|
1298
|
-
"
|
|
1301
|
+
"rowSelected": "r4uCba_rowSelected",
|
|
1302
|
+
"dialog": "r4uCba_dialog",
|
|
1299
1303
|
"note": "r4uCba_note",
|
|
1300
|
-
"searchRow": "r4uCba_searchRow",
|
|
1301
|
-
"search": "r4uCba_search",
|
|
1302
1304
|
"field": "r4uCba_field",
|
|
1303
|
-
"
|
|
1304
|
-
"rowSelected": "r4uCba_rowSelected"
|
|
1305
|
+
"content": "r4uCba_content"
|
|
1305
1306
|
};
|
|
1306
1307
|
//#endregion
|
|
1307
1308
|
//#region src/client/RoomDialogs.tsx
|
|
@@ -1918,66 +1919,66 @@ window.__ModuleLoader__.load({
|
|
|
1918
1919
|
document.head.appendChild(tag);
|
|
1919
1920
|
}
|
|
1920
1921
|
var SidebarRooms_module_css_default = {
|
|
1921
|
-
"
|
|
1922
|
-
"joinButton": "s0QgKq_joinButton",
|
|
1922
|
+
"leaveBody": "s0QgKq_leaveBody",
|
|
1923
1923
|
"sectionHeader": "s0QgKq_sectionHeader",
|
|
1924
|
-
"menuRename": "s0QgKq_menuRename",
|
|
1925
|
-
"footer": "s0QgKq_footer",
|
|
1926
|
-
"listArea": "s0QgKq_listArea",
|
|
1927
|
-
"clearButton": "s0QgKq_clearButton",
|
|
1928
|
-
"discoverMeta": "s0QgKq_discoverMeta",
|
|
1929
|
-
"search": "s0QgKq_search",
|
|
1930
|
-
"leaveCopy": "s0QgKq_leaveCopy",
|
|
1931
1924
|
"hit": "s0QgKq_hit",
|
|
1932
|
-
"
|
|
1933
|
-
"
|
|
1925
|
+
"hitHint": "s0QgKq_hitHint",
|
|
1926
|
+
"mark": "s0QgKq_mark",
|
|
1934
1927
|
"searchSlotExpanded": "s0QgKq_searchSlotExpanded",
|
|
1935
|
-
"
|
|
1936
|
-
"
|
|
1937
|
-
"menuItem": "s0QgKq_menuItem",
|
|
1938
|
-
"hitRoom": "s0QgKq_hitRoom",
|
|
1939
|
-
"menuInput": "s0QgKq_menuInput",
|
|
1928
|
+
"check": "s0QgKq_check",
|
|
1929
|
+
"emptyState": "s0QgKq_emptyState",
|
|
1940
1930
|
"empty": "s0QgKq_empty",
|
|
1941
|
-
"
|
|
1942
|
-
"
|
|
1943
|
-
"
|
|
1944
|
-
"
|
|
1945
|
-
"leaveRoomName": "s0QgKq_leaveRoomName",
|
|
1946
|
-
"menuCancel": "s0QgKq_menuCancel",
|
|
1947
|
-
"hitHead": "s0QgKq_hitHead",
|
|
1948
|
-
"menuInline": "s0QgKq_menuInline",
|
|
1949
|
-
"hitAuthor": "s0QgKq_hitAuthor",
|
|
1950
|
-
"sessionRow": "s0QgKq_sessionRow",
|
|
1931
|
+
"discoverMeta": "s0QgKq_discoverMeta",
|
|
1932
|
+
"fade": "s0QgKq_fade",
|
|
1933
|
+
"searchSlot": "s0QgKq_searchSlot",
|
|
1934
|
+
"footer": "s0QgKq_footer",
|
|
1951
1935
|
"root": "s0QgKq_root",
|
|
1952
|
-
"menu": "s0QgKq_menu",
|
|
1953
|
-
"unreadMentioned": "s0QgKq_unreadMentioned",
|
|
1954
1936
|
"rowWrap": "s0QgKq_rowWrap",
|
|
1955
|
-
"menuActions": "s0QgKq_menuActions",
|
|
1956
|
-
"leaveError": "s0QgKq_leaveError",
|
|
1957
1937
|
"headerActions": "s0QgKq_headerActions",
|
|
1958
|
-
"
|
|
1959
|
-
"
|
|
1938
|
+
"hitText": "s0QgKq_hitText",
|
|
1939
|
+
"discoverSection": "s0QgKq_discoverSection",
|
|
1940
|
+
"viewWrap": "s0QgKq_viewWrap",
|
|
1960
1941
|
"title": "s0QgKq_title",
|
|
1942
|
+
"hitList": "s0QgKq_hitList",
|
|
1943
|
+
"menuItem": "s0QgKq_menuItem",
|
|
1944
|
+
"search": "s0QgKq_search",
|
|
1945
|
+
"resizer": "s0QgKq_resizer",
|
|
1946
|
+
"clearButton": "s0QgKq_clearButton",
|
|
1947
|
+
"rowIcon": "s0QgKq_rowIcon",
|
|
1948
|
+
"menu": "s0QgKq_menu",
|
|
1949
|
+
"sectionLabel": "s0QgKq_sectionLabel",
|
|
1961
1950
|
"time": "s0QgKq_time",
|
|
1962
|
-
"unread": "s0QgKq_unread",
|
|
1963
|
-
"leaveBody": "s0QgKq_leaveBody",
|
|
1964
|
-
"menuLayer": "s0QgKq_menuLayer",
|
|
1965
1951
|
"searchExpanded": "s0QgKq_searchExpanded",
|
|
1966
|
-
"
|
|
1967
|
-
"
|
|
1968
|
-
"discoverName": "s0QgKq_discoverName",
|
|
1969
|
-
"mark": "s0QgKq_mark",
|
|
1952
|
+
"unreadMentioned": "s0QgKq_unreadMentioned",
|
|
1953
|
+
"menuRename": "s0QgKq_menuRename",
|
|
1970
1954
|
"menuConfirm": "s0QgKq_menuConfirm",
|
|
1971
|
-
"
|
|
1972
|
-
"
|
|
1973
|
-
"
|
|
1974
|
-
"
|
|
1975
|
-
"
|
|
1976
|
-
"
|
|
1955
|
+
"menuInput": "s0QgKq_menuInput",
|
|
1956
|
+
"leaveError": "s0QgKq_leaveError",
|
|
1957
|
+
"menuInline": "s0QgKq_menuInline",
|
|
1958
|
+
"discoverHeading": "s0QgKq_discoverHeading",
|
|
1959
|
+
"discoverName": "s0QgKq_discoverName",
|
|
1960
|
+
"menuCancel": "s0QgKq_menuCancel",
|
|
1961
|
+
"searchInput": "s0QgKq_searchInput",
|
|
1977
1962
|
"visuallyHidden": "s0QgKq_visuallyHidden",
|
|
1978
|
-
"
|
|
1963
|
+
"discoverRow": "s0QgKq_discoverRow",
|
|
1964
|
+
"joinButton": "s0QgKq_joinButton",
|
|
1965
|
+
"leaveRoomName": "s0QgKq_leaveRoomName",
|
|
1966
|
+
"hitHead": "s0QgKq_hitHead",
|
|
1967
|
+
"leaveConfirmDanger": "s0QgKq_leaveConfirmDanger",
|
|
1979
1968
|
"searchButton": "s0QgKq_searchButton",
|
|
1980
|
-
"
|
|
1969
|
+
"unread": "s0QgKq_unread",
|
|
1970
|
+
"list": "s0QgKq_list",
|
|
1971
|
+
"iconButton": "s0QgKq_iconButton",
|
|
1972
|
+
"menuHeading": "s0QgKq_menuHeading",
|
|
1973
|
+
"leaveCopy": "s0QgKq_leaveCopy",
|
|
1974
|
+
"menuLayer": "s0QgKq_menuLayer",
|
|
1975
|
+
"menuActions": "s0QgKq_menuActions",
|
|
1976
|
+
"sessionRow": "s0QgKq_sessionRow",
|
|
1977
|
+
"hitRoom": "s0QgKq_hitRoom",
|
|
1978
|
+
"hitAuthor": "s0QgKq_hitAuthor",
|
|
1979
|
+
"listArea": "s0QgKq_listArea",
|
|
1980
|
+
"flatList": "s0QgKq_flatList",
|
|
1981
|
+
"sessionRowSelected": "s0QgKq_sessionRowSelected"
|
|
1981
1982
|
};
|
|
1982
1983
|
//#endregion
|
|
1983
1984
|
//#region src/client/SidebarRooms.tsx
|
|
@@ -3039,20 +3040,20 @@ window.__ModuleLoader__.load({
|
|
|
3039
3040
|
document.head.appendChild(tag);
|
|
3040
3041
|
}
|
|
3041
3042
|
var MessageSide_module_css_default = {
|
|
3042
|
-
"rowBody": "KXabfq_rowBody",
|
|
3043
3043
|
"selfBody": "KXabfq_selfBody",
|
|
3044
3044
|
"otherRow": "KXabfq_otherRow",
|
|
3045
|
-
"authorName": "KXabfq_authorName",
|
|
3046
|
-
"quoteBody": "KXabfq_quoteBody",
|
|
3047
|
-
"quoteBar": "KXabfq_quoteBar",
|
|
3048
3045
|
"quoteAuthor": "KXabfq_quoteAuthor",
|
|
3049
|
-
"
|
|
3046
|
+
"quoteText": "KXabfq_quoteText",
|
|
3047
|
+
"quoteBar": "KXabfq_quoteBar",
|
|
3048
|
+
"quoteBody": "KXabfq_quoteBody",
|
|
3049
|
+
"rowBody": "KXabfq_rowBody",
|
|
3050
3050
|
"rowActions": "KXabfq_rowActions",
|
|
3051
|
+
"authorName": "KXabfq_authorName",
|
|
3052
|
+
"author": "KXabfq_author",
|
|
3053
|
+
"selfRow": "KXabfq_selfRow",
|
|
3051
3054
|
"replyButton": "KXabfq_replyButton",
|
|
3052
|
-
"quoteMark": "KXabfq_quoteMark",
|
|
3053
3055
|
"rowActionsSelf": "KXabfq_rowActionsSelf",
|
|
3054
|
-
"
|
|
3055
|
-
"quoteText": "KXabfq_quoteText"
|
|
3056
|
+
"quoteMark": "KXabfq_quoteMark"
|
|
3056
3057
|
};
|
|
3057
3058
|
//#endregion
|
|
3058
3059
|
//#region src/client/MessageSide.tsx
|
|
@@ -3340,46 +3341,46 @@ window.__ModuleLoader__.load({
|
|
|
3340
3341
|
document.head.appendChild(tag);
|
|
3341
3342
|
}
|
|
3342
3343
|
var MembersPanel_module_css_default = {
|
|
3343
|
-
"sectionLabel": "VeQVAa_sectionLabel",
|
|
3344
|
-
"notice": "VeQVAa_notice",
|
|
3345
|
-
"crumbGroup": "VeQVAa_crumbGroup",
|
|
3346
|
-
"fileSize": "VeQVAa_fileSize",
|
|
3347
|
-
"hint": "VeQVAa_hint",
|
|
3348
|
-
"preview": "VeQVAa_preview",
|
|
3349
|
-
"announcementText": "VeQVAa_announcementText",
|
|
3350
|
-
"editor": "VeQVAa_editor",
|
|
3351
|
-
"search": "VeQVAa_search",
|
|
3352
|
-
"fileButton": "VeQVAa_fileButton",
|
|
3353
|
-
"selfTag": "VeQVAa_selfTag",
|
|
3354
|
-
"row": "VeQVAa_row",
|
|
3355
|
-
"root": "VeQVAa_root",
|
|
3356
3344
|
"editorFooter": "VeQVAa_editorFooter",
|
|
3357
3345
|
"list": "VeQVAa_list",
|
|
3358
|
-
"
|
|
3359
|
-
"
|
|
3360
|
-
"
|
|
3361
|
-
"
|
|
3362
|
-
"sectionHeader": "VeQVAa_sectionHeader",
|
|
3363
|
-
"previewImage": "VeQVAa_previewImage",
|
|
3364
|
-
"previewHeader": "VeQVAa_previewHeader",
|
|
3365
|
-
"sectionToggle": "VeQVAa_sectionToggle",
|
|
3346
|
+
"announcementText": "VeQVAa_announcementText",
|
|
3347
|
+
"crumbGroup": "VeQVAa_crumbGroup",
|
|
3348
|
+
"searchToggle": "VeQVAa_searchToggle",
|
|
3349
|
+
"fileSize": "VeQVAa_fileSize",
|
|
3366
3350
|
"crumbSep": "VeQVAa_crumbSep",
|
|
3367
|
-
"linkButton": "VeQVAa_linkButton",
|
|
3368
|
-
"ownerTag": "VeQVAa_ownerTag",
|
|
3369
|
-
"textarea": "VeQVAa_textarea",
|
|
3370
3351
|
"crumb": "VeQVAa_crumb",
|
|
3352
|
+
"linkButton": "VeQVAa_linkButton",
|
|
3353
|
+
"sectionHeader": "VeQVAa_sectionHeader",
|
|
3354
|
+
"caret": "VeQVAa_caret",
|
|
3355
|
+
"error": "VeQVAa_error",
|
|
3356
|
+
"filePicker": "VeQVAa_filePicker",
|
|
3357
|
+
"sectionBody": "VeQVAa_sectionBody",
|
|
3371
3358
|
"name": "VeQVAa_name",
|
|
3372
|
-
"unavailable": "VeQVAa_unavailable",
|
|
3373
3359
|
"remove": "VeQVAa_remove",
|
|
3374
|
-
"
|
|
3375
|
-
"
|
|
3376
|
-
"
|
|
3377
|
-
"
|
|
3360
|
+
"search": "VeQVAa_search",
|
|
3361
|
+
"previewClose": "VeQVAa_previewClose",
|
|
3362
|
+
"unavailable": "VeQVAa_unavailable",
|
|
3363
|
+
"previewBody": "VeQVAa_previewBody",
|
|
3364
|
+
"root": "VeQVAa_root",
|
|
3378
3365
|
"section": "VeQVAa_section",
|
|
3379
|
-
"
|
|
3380
|
-
"
|
|
3366
|
+
"editor": "VeQVAa_editor",
|
|
3367
|
+
"hint": "VeQVAa_hint",
|
|
3368
|
+
"count": "VeQVAa_count",
|
|
3381
3369
|
"crumbs": "VeQVAa_crumbs",
|
|
3382
|
-
"
|
|
3370
|
+
"refresh": "VeQVAa_refresh",
|
|
3371
|
+
"sectionToggle": "VeQVAa_sectionToggle",
|
|
3372
|
+
"row": "VeQVAa_row",
|
|
3373
|
+
"ownerTag": "VeQVAa_ownerTag",
|
|
3374
|
+
"sectionLabel": "VeQVAa_sectionLabel",
|
|
3375
|
+
"preview": "VeQVAa_preview",
|
|
3376
|
+
"notice": "VeQVAa_notice",
|
|
3377
|
+
"previewImage": "VeQVAa_previewImage",
|
|
3378
|
+
"fileIcon": "VeQVAa_fileIcon",
|
|
3379
|
+
"selfTag": "VeQVAa_selfTag",
|
|
3380
|
+
"previewTitle": "VeQVAa_previewTitle",
|
|
3381
|
+
"previewHeader": "VeQVAa_previewHeader",
|
|
3382
|
+
"textarea": "VeQVAa_textarea",
|
|
3383
|
+
"fileButton": "VeQVAa_fileButton"
|
|
3383
3384
|
};
|
|
3384
3385
|
//#endregion
|
|
3385
3386
|
//#region src/client/MembersPanel.tsx
|
|
@@ -4002,11 +4003,11 @@ window.__ModuleLoader__.load({
|
|
|
4002
4003
|
document.head.appendChild(tag);
|
|
4003
4004
|
}
|
|
4004
4005
|
var GuideEntry_module_css_default = {
|
|
4005
|
-
"icon": "_0Vnsuq_icon",
|
|
4006
4006
|
"entry": "_0Vnsuq_entry",
|
|
4007
|
-
"
|
|
4007
|
+
"icon": "_0Vnsuq_icon",
|
|
4008
|
+
"text": "_0Vnsuq_text",
|
|
4008
4009
|
"title": "_0Vnsuq_title",
|
|
4009
|
-
"
|
|
4010
|
+
"description": "_0Vnsuq_description"
|
|
4010
4011
|
};
|
|
4011
4012
|
//#endregion
|
|
4012
4013
|
//#region src/client/GuideEntry.tsx
|
|
@@ -4073,13 +4074,13 @@ window.__ModuleLoader__.load({
|
|
|
4073
4074
|
document.head.appendChild(tag);
|
|
4074
4075
|
}
|
|
4075
4076
|
var QuoteComposer_module_css_default = {
|
|
4076
|
-
"text": "AK6KxW_text",
|
|
4077
|
-
"dismiss": "AK6KxW_dismiss",
|
|
4078
|
-
"button": "AK6KxW_button",
|
|
4079
|
-
"author": "AK6KxW_author",
|
|
4080
4077
|
"body": "AK6KxW_body",
|
|
4078
|
+
"button": "AK6KxW_button",
|
|
4081
4079
|
"mark": "AK6KxW_mark",
|
|
4082
|
-
"bar": "AK6KxW_bar"
|
|
4080
|
+
"bar": "AK6KxW_bar",
|
|
4081
|
+
"author": "AK6KxW_author",
|
|
4082
|
+
"dismiss": "AK6KxW_dismiss",
|
|
4083
|
+
"text": "AK6KxW_text"
|
|
4083
4084
|
};
|
|
4084
4085
|
//#endregion
|
|
4085
4086
|
//#region src/client/QuoteComposer.tsx
|
|
@@ -4700,7 +4701,19 @@ window.__ModuleLoader__.load({
|
|
|
4700
4701
|
...base,
|
|
4701
4702
|
open: (roomId) => {
|
|
4702
4703
|
base.open(roomId);
|
|
4703
|
-
|
|
4704
|
+
(async () => {
|
|
4705
|
+
for (let attempt = 0; attempt < 25; attempt += 1) {
|
|
4706
|
+
try {
|
|
4707
|
+
if ((await readRoomState(roomId)).open) break;
|
|
4708
|
+
} catch {
|
|
4709
|
+
break;
|
|
4710
|
+
}
|
|
4711
|
+
await new Promise((resolve) => {
|
|
4712
|
+
setTimeout(resolve, 300);
|
|
4713
|
+
});
|
|
4714
|
+
}
|
|
4715
|
+
ctx.uiWorkspace.openSession(roomSessionId(roomId));
|
|
4716
|
+
})();
|
|
4704
4717
|
queueMicrotask(() => {
|
|
4705
4718
|
store.openMembers?.(roomId);
|
|
4706
4719
|
});
|