Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0a0f71d

Browse files
refactored matrix after whatsapp bridge
1 parent9f4157e commit0a0f71d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎client/packages/lowcoder/src/comps/comps/chatroom/chatControllerComp.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ import {
4747
withDefault,
4848
}from"@lowcoder-ee/index.sdk";
4949
import{getData}from"../listViewComp/listViewUtils";
50-
import{MatrixClient}from"matrix-js-sdk";
5150

5251
constEventOptions=[closeEvent]asconst;
5352

@@ -241,7 +240,7 @@ let MTComp = (function () {
241240
);
242241
}
243242
},[props.roomData.value]);
244-
243+
245244
letresourcesInit=()=>{
246245
// show the room list after syncing.
247246
matrixClient.on(
@@ -463,6 +462,7 @@ MTComp = withMethodExposing(MTComp, [
463462
){
464463
console.log(firstValue);
465464
constname:any=firstValue.roomId;
465+
466466
matrixClient
467467
.leave(name)
468468
.then(()=>{
@@ -528,9 +528,9 @@ MTComp = withMethodExposing(MTComp, [
528528
awaitmatrixClient.startClient();
529529

530530
letallRooms=awaitmatrixClient.publicRooms();
531-
531+
532532
letrooms:any=[];
533-
allRooms.chunk.forEach(
533+
allRooms.chunk.forEach(
534534
(room:{
535535
name:any;
536536
room_id:any;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp