File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
client/packages/lowcoder/src/comps/comps/chatroom Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ import {
47
47
withDefault ,
48
48
} from "@lowcoder-ee/index.sdk" ;
49
49
import { getData } from "../listViewComp/listViewUtils" ;
50
- import { MatrixClient } from "matrix-js-sdk" ;
51
50
52
51
const EventOptions = [ closeEvent ] as const ;
53
52
@@ -241,7 +240,7 @@ let MTComp = (function () {
241
240
) ;
242
241
}
243
242
} , [ props . roomData . value ] ) ;
244
-
243
+
245
244
let resourcesInit = ( ) => {
246
245
// show the room list after syncing.
247
246
matrixClient . on (
@@ -463,6 +462,7 @@ MTComp = withMethodExposing(MTComp, [
463
462
) {
464
463
console . log ( firstValue ) ;
465
464
const name : any = firstValue . roomId ;
465
+
466
466
matrixClient
467
467
. leave ( name )
468
468
. then ( ( ) => {
@@ -528,9 +528,9 @@ MTComp = withMethodExposing(MTComp, [
528
528
await matrixClient . startClient ( ) ;
529
529
530
530
let allRooms = await matrixClient . publicRooms ( ) ;
531
-
531
+
532
532
let rooms : any = [ ] ;
533
- allRooms . chunk . forEach (
533
+ allRooms . chunk . forEach (
534
534
( room : {
535
535
name : any ;
536
536
room_id : any ;
You can’t perform that action at this time.
0 commit comments