-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Fix jicofo_lock is null when restored from storage #13517
Conversation
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 change LGTM but there is an unrelated hunk, can you please undo that?
@@ -1,16 +1 @@ | |||
<!-- |
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.
Please undo this change.
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.
@saghul
Please check again. Thank you.
Hi, thanks for your contribution! |
Jenkins test this please. |
I don't see how the test failure is related. @damencho does this LGTY? |
* Fix jicofo_lock is null when restored from storage * revert --------- Co-authored-by: hshim432 <[email protected]>
https://prosody.im/doc/modules/mod_muc
When room is serialized to storage, room.jicofo_lock is not saved.
https://github.com/bjc/prosody/blob/master/plugins/muc/muc.lib.lua#L1671-L1675
When the room is activated again, jicofo_lock is null and remains locked.
I fixed to save jicofo_lock.