diff --git a/src/app/components/VoiceMessageRecorder.tsx b/src/app/components/VoiceMessageRecorder.tsx
index 77f40fe87..352ee7ee7 100644
--- a/src/app/components/VoiceMessageRecorder.tsx
+++ b/src/app/components/VoiceMessageRecorder.tsx
@@ -228,7 +228,6 @@ export function VoiceMessageRecorder({ onSend, onError }: VoiceRecorderProps) {
>
{waveformBars.map((h, i) => (
{previewUrl && (
- // eslint-disable-next-line jsx-a11y/media-has-caption
)}
diff --git a/src/app/features/message-search/useMessageSearch.ts b/src/app/features/message-search/useMessageSearch.ts
index a9cb66990..66639f58c 100644
--- a/src/app/features/message-search/useMessageSearch.ts
+++ b/src/app/features/message-search/useMessageSearch.ts
@@ -92,7 +92,6 @@ export const useMessageSearch = (params: MessageSearchParams) => {
after_limit: 0,
include_profile: false,
},
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
filter: {
limit,
rooms,
@@ -100,6 +99,7 @@ export const useMessageSearch = (params: MessageSearchParams) => {
// from_ts / to_ts are valid Matrix spec fields not yet in SDK types
...(fromTs !== undefined && { from_ts: fromTs }),
...(toTs !== undefined && { to_ts: toTs }),
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
} as any,
include_state: false,
order_by: order as SearchOrderBy.Recent,
@@ -114,7 +114,7 @@ export const useMessageSearch = (params: MessageSearchParams) => {
});
return parseSearchResult(r);
},
- [mx, term, order, rooms, senders],
+ [mx, term, order, rooms, senders, fromTs, toTs],
);
return searchMessages;