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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user