Migrate to stylistic

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2024-10-18 14:34:01 +01:00
parent d8052e6a73
commit 6c6bf811a6
124 changed files with 239 additions and 196 deletions
+3 -3
View File
@@ -252,7 +252,7 @@ export class SlidingSyncManager {
try {
// wait until the next sync before returning as RoomView may need to know the current state
await p;
} catch (err) {
} catch {
logger.warn("SlidingSync setRoomVisible:", roomId, visible, "failed to confirm transaction");
}
return roomId;
@@ -305,7 +305,7 @@ export class SlidingSyncManager {
} else {
await this.slidingSync!.setListRanges(SlidingSyncManager.ListSearch, ranges);
}
} catch (err) {
} catch {
// do nothing, as we reject only when we get interrupted but that's fine as the next
// request will include our data
} finally {
@@ -357,7 +357,7 @@ export class SlidingSyncManager {
}
const clientWellKnown = await AutoDiscovery.findClientConfig(clientDomain);
proxyUrl = clientWellKnown?.["org.matrix.msc3575.proxy"]?.url;
} catch (e) {
} catch {
// Either client.getDomain() is null so we've shorted out, or is invalid so `AutoDiscovery.findClientConfig` has thrown
}