Skip to content

Commit 938e78e

Browse files
committed
fix build errors
1 parent 36800b5 commit 938e78e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

modules/xmpp/BreakoutRooms.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export default class BreakoutRooms {
185185
*
186186
* @returns The address of the component.
187187
*/
188-
getComponentAddress(): string | undefined {
188+
getComponentAddress(): Optional<string> {
189189
return this.room.xmpp.breakoutRoomsComponentAddress;
190190
}
191191

@@ -227,7 +227,7 @@ export default class BreakoutRooms {
227227
*
228228
* @returns The main room JID.
229229
*/
230-
getMainRoomJid(): string | undefined {
230+
getMainRoomJid(): Optional<string> {
231231
return this._mainRoomJid;
232232
}
233233

modules/xmpp/ChatRoom.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ export default class ChatRoom extends Listenable {
226226
private _removeConnListeners: (() => void)[];
227227
private inProgressEmitted: boolean;
228228
private noBridgeAvailable: boolean;
229-
private options: IChatRoomOptions;
230229
private eventsForwarder: EventEmitterForwarder;
231230
private lobby?: Lobby;
232231
private avModeration: AVModeration;
@@ -246,6 +245,10 @@ export default class ChatRoom extends Listenable {
246245
private subject?: string;
247246
private _roomCreationRetries?: number;
248247
private cachedShortTermCredentials?: Record<string, string>;
248+
/**
249+
* @internal
250+
*/
251+
options: IChatRoomOptions;
249252
public xmpp: XMPP;
250253
public connection: XmppConnection;
251254
public roomjid: string;

0 commit comments

Comments
 (0)