-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Nested recursion breaking max nested level for parent comment calculation #16523
Nested recursion breaking max nested level for parent comment calculation #16523
Conversation
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
/backport to stable16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The else is unnecessary. Why would this prevent an infinite loop however?
backport to stable16 in #16524 |
Not the else, but the change from |
Gosh, and i doublechecked that :-/ more ☕ needed. makes sense anyway :) |
The bug had no effect so far because the comments app does not allow replying.
However the integration tests I'm writing for nextcloud/spreed#2000 failed with the following error, when replying to a message which was already a reply: