mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-02 19:07:40 +01:00
Merge pull request #2554 from Succubyss/groupChat-timestamp
Minor group chat timestamp fix
This commit is contained in:
commit
170039150c
@ -14,7 +14,7 @@ import {
|
||||
saveChatConditional,
|
||||
saveItemizedPrompts,
|
||||
} from '../script.js';
|
||||
import { humanizedDateTime } from './RossAscends-mods.js';
|
||||
import { humanizedDateTime, getMessageTimeStamp } from './RossAscends-mods.js';
|
||||
import {
|
||||
getGroupPastChats,
|
||||
group_activation_strategy,
|
||||
@ -297,7 +297,7 @@ async function convertSoloToGroupChat() {
|
||||
if (groupChat.length === 0) {
|
||||
const newMessage = {
|
||||
...system_messages[system_message_types.GROUP],
|
||||
send_date: humanizedDateTime(),
|
||||
send_date: getMessageTimeStamp(),
|
||||
extra: { type: system_message_types.GROUP },
|
||||
};
|
||||
groupChat.push(newMessage);
|
||||
|
Loading…
x
Reference in New Issue
Block a user