Changeset 0.23.2 (#155)
This commit is contained in:
@@ -596,7 +596,7 @@ async function _navigateDaily(offset) {
|
||||
// ── Save-to-Note (from chat messages) ──
|
||||
|
||||
async function saveMessageToNote(msgIndex) {
|
||||
const chat = App.chats?.find(c => c.id === App.currentChatId);
|
||||
const chat = App.chats?.find(c => c.id === App.activeId);
|
||||
const msg = chat?.messages?.[msgIndex];
|
||||
if (!msg) return;
|
||||
|
||||
@@ -617,7 +617,7 @@ async function saveMessageToNote(msgIndex) {
|
||||
// Show save-to-note modal
|
||||
_showSaveToNoteModal({
|
||||
content,
|
||||
sourceChannelId: App.currentChatId || '',
|
||||
sourceChannelId: App.activeId || '',
|
||||
sourceMessageId: msg.id || '',
|
||||
defaultTitle,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user