Skip to content

Commit

Permalink
Fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewFerr committed Oct 14, 2022
1 parent 24facfa commit 6099f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ export class Bridge {
const adminAccountData = await this.as.botIntent.underlyingClient.getSafeRoomAccountData<AdminAccountData>(
BRIDGE_ROOM_TYPE, roomId,
);
if (!!adminAccountData) {
if (adminAccountData) {
const room = await this.setUpAdminRoom(roomId, adminAccountData, NotifFilter.getDefaultContent());
await this.as.botClient.setRoomAccountData(
BRIDGE_ROOM_TYPE, roomId, room.accountData,
Expand Down

0 comments on commit 6099f36

Please sign in to comment.