-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Messenger] Permit creating queue when an account is provided #44021
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
Conversation
nuvolapl
commented
Nov 12, 2021
Q | A |
---|---|
Branch? | 5.4 |
Bug fix? | no |
New feature? | no |
Deprecations? | no |
Tickets | Fix #42208 |
License | MIT |
Doc PR |
Hey! I think @WaylandAce has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
Hi everyone, what is the state of this PR? I can confirm the provided patch works, a non-existent queue is created when calling Friendly ping @fabpot @jderusse @Nyholm 🙏 Thanks! |
This was part of the original PR by @jderusse. It is not a bug it is a new feature. I dont remember why this was added. Jeremy, do you know? |
This is for 5.4. It just misses a test case (if possible) |
I will create a new PR with @nuvolapl's commit + a new test case. |
Sorry Tobias, I missed your comment. If creating the queue on the fly was not expected to work, then it is indeed a new feature. |
Then what's the meaning of having an option |
At this time, the DSN for the queue was Since then, things changed:
I believe this check should not be ignored because: If the code run with credentials belonging to account This line should be replaced by checking if the ownerId is identical to the currently connected account (see |
Thanks everyone! @Nyholm: yeah I'm fine with those explanations, I will try to send a PR ASAP. |