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 {
4747 withDefault ,
4848} from "@lowcoder-ee/index.sdk" ;
4949import { getData } from "../listViewComp/listViewUtils" ;
50- import { MatrixClient } from "matrix-js-sdk" ;
5150
5251const EventOptions = [ closeEvent ] as const ;
5352
@@ -241,7 +240,7 @@ let MTComp = (function () {
241240 ) ;
242241 }
243242 } , [ props . roomData . value ] ) ;
244-
243+
245244 let resourcesInit = ( ) => {
246245 // show the room list after syncing.
247246 matrixClient . on (
@@ -463,6 +462,7 @@ MTComp = withMethodExposing(MTComp, [
463462 ) {
464463 console . log ( firstValue ) ;
465464 const name : any = firstValue . roomId ;
465+
466466 matrixClient
467467 . leave ( name )
468468 . then ( ( ) => {
@@ -528,9 +528,9 @@ MTComp = withMethodExposing(MTComp, [
528528 await matrixClient . startClient ( ) ;
529529
530530 let allRooms = await matrixClient . publicRooms ( ) ;
531-
531+
532532 let rooms : any = [ ] ;
533- allRooms . chunk . forEach (
533+ allRooms . chunk . forEach (
534534 ( room : {
535535 name : any ;
536536 room_id : any ;
You can’t perform that action at this time.
0 commit comments