Deprecated role in Member and introduced channelRole

This commit is contained in:
Ayush Shekhar
2022-05-06 17:19:45 +05:30
parent 9dab952a4c
commit bba503a6f4
13 changed files with 67 additions and 17 deletions
@@ -2007,7 +2007,7 @@ class ChannelClientState {
);
/// User role for the current user.
String? get currentUserRole => currentUserMember?.role;
String? get currentUserRole => currentUserMember?.channelRole;
/// Channel read list.
List<Read> get read => _channelState.read ?? <Read>[];