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

Is there something like a "media uploading queue"? #485

Open
maaximal opened this issue Oct 8, 2013 · 2 comments
Open

Is there something like a "media uploading queue"? #485

maaximal opened this issue Oct 8, 2013 · 2 comments

Comments

@maaximal
Copy link

maaximal commented Oct 8, 2013

So currently i have a bot that sends a picture for every message it gets. Problem is that if I send two messages at the same time the bot dies because the other picture hasn't finished uploading. Is there a way to wait to get the script to know that the first media has finished uploading and then get it to start uploading the second one, like in a queue. (I already noticed the media queue in the whatsprot.php, but I think this is automatically enabled and therefore doesn't do what I want it to)

@shirioko
Copy link
Contributor

shirioko commented Oct 9, 2013

Are you using the onGetMessage event to send a new message?

@maaximal
Copy link
Author

Yes i am using it.

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

No branches or pull requests

2 participants