Fix chat manager in group chats

This commit is contained in:
Cohee
2025-05-17 08:30:53 +03:00
parent e9bc2d8af0
commit ca4f007009

View File

@ -11130,7 +11130,7 @@ jQuery(async function () {
}); });
if (id == 'option_select_chat') { if (id == 'option_select_chat') {
if (this_chid === undefined && !is_send_press) { if (this_chid === undefined && !is_send_press && !selected_group) {
await openPermanentAssistantCard(); await openPermanentAssistantCard();
} }
if ((selected_group && !is_group_generating) || (this_chid !== undefined && !is_send_press) || fromSlashCommand) { if ((selected_group && !is_group_generating) || (this_chid !== undefined && !is_send_press) || fromSlashCommand) {