Skip to content

Conversation

@hiroshihorie
Copy link
Member

No description provided.

@hiroshihorie hiroshihorie marked this pull request as ready for review April 3, 2022 11:21
@internal
@override
bool setPermissions(ParticipantPermissions newValue) {
final didUpdate = super.setPermissions(newValue);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In JS, we are passing back the previous value.. since you have an event.. perhaps we can pass back both?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, like oldValue newValue ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since you have permissions, maybe just add oldPermissions ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it

@hiroshihorie hiroshihorie merged commit 48754e1 into main Apr 4, 2022
@hiroshihorie hiroshihorie deleted the protocol-v7 branch April 4, 2022 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants