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

How can I get the id of the message I sent to the channel? #8

Closed
felixq opened this issue Sep 11, 2023 · 3 comments
Closed

How can I get the id of the message I sent to the channel? #8

felixq opened this issue Sep 11, 2023 · 3 comments

Comments

@felixq
Copy link

felixq commented Sep 11, 2023

Gotify does not have auto delete or expiration of messages and I need to delete the message after a while but I don't see it returning the id.

@eternal-flame-AD
Copy link
Owner

eternal-flame-AD commented Sep 19, 2023

Thanks for the issue. I am thinking about what API would I provide here because once a broadcast is sent it is sent to every user on different IDs, I am having trouble thinking one without leaking information like user names), and with the current architecture the broadcast is untracked when it has been sent (which is what 'broadcast' means, right?), I will accept a PR for this tho is you are up to it!

Also I think it would be good if you could bring this issue to gotify because it sounds more like a gotify feature than this plugin. If you want to modify a broadcast message you would need to authenticate as each user the message get sent to which sort of defeats the purpose of sending a broadcast.

@felixq
Copy link
Author

felixq commented Sep 20, 2023

Thank you
Unfortunately I don't know the language nor can I compile it.
One more question.
Can I use the same user from different devices and everyone will receive the notification?

@eternal-flame-AD
Copy link
Owner

Yes I believe that is how gotify works, you can have multiple clients and they all receive messages

@eternal-flame-AD eternal-flame-AD closed this as not planned Won't fix, can't repro, duplicate, stale Jul 26, 2024
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