Using for logview command bash
This commit is contained in:
parent
4b2925d87f
commit
a086eefdc6
@ -66,10 +66,10 @@ std::vector<property::ChannelProperties> BasicChannel::update_properties_from_pe
|
||||
}
|
||||
/* update the channel talk power */
|
||||
{
|
||||
permission::PermissionValue talk_power = 0;
|
||||
permission::PermissionValue talk_power{0};
|
||||
auto& permission_tp_flags = permission_manager->permission_flags(permission::i_client_needed_talk_power);
|
||||
if(permission_tp_flags.value_set)
|
||||
talk_power = (IconId) permission_manager->permission_values(permission::i_client_needed_talk_power).value;
|
||||
talk_power = permission_manager->permission_values(permission::i_client_needed_talk_power).value;
|
||||
if(this->properties()[property::CHANNEL_NEEDED_TALK_POWER] != talk_power) {
|
||||
this->properties()[property::CHANNEL_NEEDED_TALK_POWER] = talk_power;
|
||||
result.push_back(property::CHANNEL_NEEDED_TALK_POWER);
|
||||
|
Loading…
Reference in New Issue
Block a user