mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 00:51:17 -08:00
add url as a param for widget url
This commit is contained in:
1 parent
f3612e23c6
commit
4486ef1e72
1 file changed
+3
@@ -86,6 +86,8 @@ export class SmallWidget extends EventEmitter {
|
||||
|
||||
private roomId?: string;
|
||||
|
||||
public url?: string;
|
||||
|
||||
private type: string; // Type of the widget (e.g., 'm.call')
|
||||
|
||||
private readUpToMap: { [roomId: string]: string } = {}; // room ID to event ID
|
||||
@@ -98,6 +100,7 @@ export class SmallWidget extends EventEmitter {
|
||||
super();
|
||||
this.client = iapp.client;
|
||||
this.roomId = iapp.roomId;
|
||||
this.url = iapp.url;
|
||||
this.type = iapp.type;
|
||||
this.mockWidget = new CinnyWidget(iapp);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user