mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
Linting
This commit is contained in:
parent
83c06c8591
commit
c5e887bfd0
@ -13,7 +13,7 @@ export class TelegramApiService extends AuthedApi {
|
||||
return this.authedGet("/api/v1/dimension/telegram/chat/" + chatId, {roomId: roomId}).map(r => r.json()).toPromise();
|
||||
}
|
||||
|
||||
public bridgeRoom(roomId: string, chatId: number, unbridgeOtherPortals: boolean = false): Promise<FE_PortalInfo> {
|
||||
public bridgeRoom(roomId: string, chatId: number, unbridgeOtherPortals = false): Promise<FE_PortalInfo> {
|
||||
return this.authedPost("/api/v1/dimension/telegram/chat/" + chatId + "/room/" + roomId, {unbridgeOtherPortals})
|
||||
.map(r => r.json()).toPromise();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user