mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Pass group chat id to extensions. Remove temporary swipes fix from memory ext.
This commit is contained in:
@ -3688,7 +3688,9 @@ window["SillyTavern"].getContext = function () {
|
||||
name2: name2,
|
||||
characterId: this_chid,
|
||||
groupId: selected_group,
|
||||
chatId: this_chid && characters[this_chid] && characters[this_chid].chat,
|
||||
chatId: selected_group
|
||||
? groups.find(x => x.id == selected_group)?.chat_id
|
||||
: (this_chid && characters[this_chid] && characters[this_chid].chat),
|
||||
onlineStatus: online_status,
|
||||
maxContext: Number(max_context),
|
||||
chatMetadata: chat_metadata,
|
||||
|
Reference in New Issue
Block a user