File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed 
packages/frontend/src/hooks/chat Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 22
33## [ Unreleased] [ unreleased ]  
44
5+ ### Fixed  
6+ -  fix: remove the option to select info messages with Ctrl + Up/Down #5337  
7+ 
58<a  id =" 2_15_0 " ></a >
69
710## [ 2.15.0]  - 2025-10-02 
Original file line number Diff line number Diff line change @@ -252,6 +252,11 @@ export function useDraft(
252252  ) 
253253
254254  const  {  jumpToMessage }  =  useMessage ( ) 
255+ 
256+   /** 
257+    * Support the Ctrl/Cmd+Up/Down shortcuts to select a message 
258+    * to reply to and set the quote in the draft accordingly 
259+    */ 
255260  const  onSelectReplyToShortcut  =  async  ( 
256261    upOrDown :
257262      |  KeybindAction . Composer_SelectReplyToUp 
@@ -291,7 +296,6 @@ export function useDraft(
291296          messageCache [ id ] ?. chatId  ===  chatId  && 
292297          messageCache [ id ] ?. isInfo  ===  false 
293298      ) 
294-     console . log ( 'messageIds' ,  messageIds ) 
295299    const  currQuote  =  draftRef . current . quote 
296300    if  ( ! currQuote )  { 
297301      if  ( upOrDown  ===  KeybindAction . Composer_SelectReplyToUp )  { 
@@ -312,7 +316,7 @@ export function useDraft(
312316      const  fullIndex  =  fullMsgIdList . findIndex ( m  =>  m  ===  currQuote . messageId ) 
313317      if  ( fullIndex  !==  - 1 )  { 
314318        // message is in the full list, just not in the cache (yet) 
315-         // -> jump to it, it will be loaded then 
319+         // -> jump to it, it will be loaded then (and the surrounding messages)  
316320        quoteMessage ( currQuote . messageId ,  true ) 
317321        return 
318322      }  else  { 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments