fixed crash on no permission manager
This commit is contained in:
parent
a3baa8e5b4
commit
2177e51380
@ -130,7 +130,7 @@ void ConnectedClient::updateChannelClientProperties(bool lock_channel_tree, bool
|
||||
}
|
||||
|
||||
IconId iconId = 0;
|
||||
{
|
||||
if(this->clientPermissions) {
|
||||
permission::v2::PermissionFlaggedValue value{0, false};
|
||||
auto permission_flags = this->clientPermissions->permission_flags(permission::i_icon_id);
|
||||
if(permission_flags.channel_specific && this->currentChannel) {
|
||||
|
Loading…
Reference in New Issue
Block a user