Open group UI immediately on click
This commit is contained in:
parent
5d74749fd0
commit
b3f657bed5
|
@ -1576,6 +1576,8 @@ export async function openGroupById(groupId) {
|
|||
}
|
||||
|
||||
if (!is_send_press && !is_group_generating) {
|
||||
select_group_chats(groupId);
|
||||
|
||||
if (selected_group !== groupId) {
|
||||
await clearChat();
|
||||
cancelTtsPlay();
|
||||
|
@ -1587,8 +1589,6 @@ export async function openGroupById(groupId) {
|
|||
chat.length = 0;
|
||||
await getGroupChat(groupId);
|
||||
}
|
||||
|
||||
select_group_chats(groupId);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue