-
-
Notifications
You must be signed in to change notification settings - Fork 617
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
MatrixRTC: Rename MembershipConfig
parameters
#4714
base: develop
Are you sure you want to change the base?
Conversation
MembershipConfig
parametersMembershipConfig
parameters
Do we want to make this backwards compatible and introduce a couple of deprecated old properties? |
db55170
to
c569893
Compare
Can we make sonar cloud happy event though we use the deprecated fields as fallback? |
We do already have the state `hasMemberEvent` that allows to distinguish the two cases. No need to create two dedicated actions.
- deprecate isJoined (replaced by isActivated) - move Interface types to types.ts
5acd034
to
052cef9
Compare
fc35b3c
to
3d60f53
Compare
/** | ||
* The period (in milliseconds) with which we check that our membership event still exists on the | ||
* server. If it is not found we create it again. | ||
*/ | ||
memberEventCheckPeriod?: number; |
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.
What happened to this one? Should it be deprecated?
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.
It was not used anymore (even before this pr it was not used anymore) and I also dont see a reason why we need it. The member event will be observed by listening to state changes. A check period is at best a workaround especially with state_after.
So it should have been deprecated for the last couple of versions and then get completely removed now. (because it was not used in the last versions)
Do you think it is still better to deprecate this and then remove it in the next release?
To me it seemed fine to just drop it now since it had no effect for some time.
I am wondering if this should get a breaking change label because of the one property robin mentioned got removed. Technically it does not change anything however since it will continue to be a property with no effect but one can keep it in the config file. Does it make more sense to add the breaking change label to the version that then removes the deprecated fields? |
Checklist
public
/exported
symbols have accurate TSDoc documentation.