Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 3c7155c

Browse files
committed
Fix lints
1 parent d1a637b commit 3c7155c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/SlashCommands.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,15 +301,17 @@ export const Commands = [
301301
}
302302

303303
const cli = MatrixClientPeg.get();
304-
const { event_id, origin_server_ts } = await cli.timestampToEvent(
304+
const { event_id: eventId, origin_server_ts: originServerTs } = await cli.timestampToEvent(
305305
roomId,
306306
unixTimestamp,
307307
Direction.Forward,
308-
)
309-
logger.log(`/timestamp_to_event: found ${event_id} (${origin_server_ts}) for timestamp=${unixTimestamp}`);
308+
);
309+
logger.log(
310+
`/timestamp_to_event: found ${eventId} (${originServerTs}) for timestamp=${unixTimestamp}`,
311+
);
310312
dis.dispatch({
311313
action: Action.ViewRoom,
312-
event_id,
314+
eventId,
313315
highlighted: true,
314316
room_id: roomId,
315317
});

0 commit comments

Comments
 (0)