Pass group chat id to extensions. Remove temporary swipes fix from memory ext.

This commit is contained in:
SillyLossy
2023-05-02 18:30:19 +03:00
parent 51940c4501
commit e2187638fd
2 changed files with 5 additions and 6 deletions

View File

@ -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,