fix: media gallery encrypted rooms + Ctrl+K double-menu

- MediaGallery: switch from createMessagesRequest (returns raw encrypted
  events) to room.getLiveTimeline().getEvents() which gives already-
  decrypted MatrixEvent objects. Load More uses paginateEventTimeline().
- QuickSwitcher: change hotkey from Ctrl+K to Ctrl+P to avoid conflict
  with the existing SearchModalRenderer mod+k handler

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-03 00:36:54 -04:00
parent 42422bbe61
commit bb65c96454
2 changed files with 34 additions and 42 deletions
+1 -1
View File
@@ -267,7 +267,7 @@ function QuickSwitcherFeature() {
useEffect(() => {
const handleKeyDown = (e: KeyboardEvent) => {
if ((e.ctrlKey || e.metaKey) && e.key === 'k') {
if ((e.ctrlKey || e.metaKey) && e.key === 'p') {
e.preventDefault();
setOpen(true);
}