🐛 fix: when use market group, the group sys role was not used (#11739)

fix: when use market group, the group sys role was not used
This commit is contained in:
Shinji-Li
2026-01-23 18:15:00 +08:00
committed by GitHub
parent 835da7b7f3
commit afc76f9c7a

View File

@@ -130,7 +130,7 @@ const ForkGroupAndChat = memo<{ mobile?: boolean }>(() => {
forkedFromIdentifier: identifier, // Store the source group identifier
},
// Group content is the supervisor's systemRole (for backward compatibility)
content: supervisorConfig?.systemRole || config.systemRole,
content: config.systemRole || supervisorConfig?.systemRole,
...meta,
};