make lint
This commit is contained in:
parent
dcdf00dcc5
commit
a23c586cde
2 changed files with 5 additions and 7 deletions
|
|
@ -818,10 +818,9 @@ TimelineModel::syncState(const mtx::responses::State &s)
|
|||
emit roomNameChanged();
|
||||
emit roomMemberCountChanged();
|
||||
|
||||
if (roomMemberCount() <= 2)
|
||||
{
|
||||
emit isDirectChanged();
|
||||
emit directChatAvatarMxidChanged();
|
||||
if (roomMemberCount() <= 2) {
|
||||
emit isDirectChanged();
|
||||
emit directChatAvatarMxidChanged();
|
||||
}
|
||||
} else if (std::holds_alternative<StateEvent<state::Encryption>>(e)) {
|
||||
this->isEncrypted_ = cache::isRoomEncrypted(room_id_.toStdString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue