Merge pull request #2452 from ThisIsPIRI/newchat

Skip popup when making new chat from chat list
This commit is contained in:
Cohee 2024-07-01 13:16:15 +03:00 committed by GitHub
commit db1768e4ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9708,14 +9708,8 @@ jQuery(async function () {
});
$('#newChatFromManageScreenButton').on('click', function () {
setTimeout(() => {
$('#option_start_new_chat').trigger('click');
}, 1);
setTimeout(() => {
$('#dialogue_popup_ok').trigger('click');
}, 1);
doNewChat({ deleteCurrentChat: false });
$('#select_chat_cross').trigger('click');
});
//////////////////////////////////////////////////////////////////////////////////////////////