Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerize and fixes some bugs #8

Merged
merged 7 commits into from
Jul 31, 2024
Merged

Conversation

Ctrl-Mota
Copy link
Contributor

No description provided.

@nizarfadlan
Copy link
Owner

Thanks for contributing. I haven't had a chance to refine this project yet.

@nizarfadlan nizarfadlan merged commit 34e0020 into nizarfadlan:main Jul 31, 2024
@Ctrl-Mota
Copy link
Contributor Author

Ctrl-Mota commented Jul 31, 2024 via email

@nizarfadlan
Copy link
Owner

nizarfadlan commented Aug 1, 2024

Your unrefined work, working perfectly for my case, thanks so much Em qua., 31 de jul. de 2024 às 16:37, Nizar Izzuddin Yatim Fadlan < @.> escreveu:

Merged #8 <#8> into main. — Reply to this email directly, view it on GitHub <#8 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANKWY4K5I777MSFBSBI6XLLZPE4INAVCNFSM6AAAAABLZDOEHKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTG4YTKMJZGA2DMNI . You are receiving this because you authored the thread.Message ID: @.
>

But why add a new reload route that contains the same logic as the add session route? And why is the function section for deleting all chats commented out, this section is made so that when the session is disconnected it means that there is no need for chat data, etc.

const destroy = async (logout = true) => {
   ...
       logout && socket.logout(),
       // prisma.chat.deleteMany({ where: { sessionId } }),
   ...
};

@Ctrl-Mota
Copy link
Contributor Author

Ctrl-Mota commented Aug 2, 2024 via email

@nizarfadlan
Copy link
Owner

nizarfadlan commented Aug 2, 2024

no problem okay I understand, maybe is the sync history message like a pull request in Baileys

WhiskeySockets/Baileys#919

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants