-
Notifications
You must be signed in to change notification settings - Fork 435
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 state: Only Moderators can write #5259
Conversation
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
0bb8fab
to
407bfa5
Compare
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
407bfa5
to
d58834d
Compare
This comment has been minimized.
This comment has been minimized.
e44215e
to
f35fd8e
Compare
This comment has been minimized.
This comment has been minimized.
@ma12-co or replace it with something similar-looking like the notifications ?
|
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
For 1. change the boolean to int and check where the function is called. For 2, that line is for validating the occ command input. Just add the new constant you introduced into the array. |
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
f35fd8e
to
ac8a482
Compare
* | ||
* @throws InvalidArgumentException | ||
*/ | ||
protected function setRoomReadOnly(Room $room, bool $readOnly): void { | ||
protected function setRoomReadOnly(Room $room, int $readOnly): void { |
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 also change the next line, you need to compare the int value now
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 recheck the whole function, it needs to be rewritten to handle the int value as it's not a bool any more
Turning into a draft for the open points to have the review/to merge list cleaner |
@jakobroehrl any chance you want to continue on this? |
I don't think so, sorry. It's a little bit to deep into PHP. Maybe you can do it? and I support? Or we just close it? |
I will close the PR for now. Anyone can pick it up whenever they want and reopen the PR. |
Signed-off-by: Jakob Röhrl jakob.roehrl@web.de
solves: #3886