-
Notifications
You must be signed in to change notification settings - Fork 125
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
How to add multiple messges into one Ping #155
Comments
This is technically possible, but most likely not going to happen. There are a few complications:
If someone can answer those questions and put together a reasonable pull request, I'll gladly review it. |
My immediate thoughts:
The delay handles the first two conditions, and its expiration handles condition three. A The first message has to contain the desired highlight keyword, but that's probably reasonable for users to configure if they want this behavior. Thoughts? |
I think the difficulty stems from the inability to do asynchronous work within ZNC. Eg, if you get one message that would normally generate a notification, and you defer it for later to wait for batching, you have no way of saying "in X seconds, send a notification if I haven't gotten a message since then". The closest thing to that would be waiting for the next message to come in before sending a previously-deferred notification, but you have no idea when that next message will actually arrive. It could be 2 seconds, it could be 2 hours... If the async story changes in ZNC, then I think this is something we can revisit. But until then, this is likely to cause more confusion than anything. |
Is it possible to add multiple messages into one ping?
The Message Syntax is like this:
(21:23:41) qq: BROADCAST
(21:23:41) qq: text 2
(21:23:41) qq: text 3
The text was updated successfully, but these errors were encountered: