Use more descriptive property name
This commit is contained in:
parent
3a86d44c1e
commit
356723fe06
6 changed files with 12 additions and 12 deletions
|
|
@ -820,7 +820,7 @@ TimelineModel::syncState(const mtx::responses::State &s)
|
|||
|
||||
if (roomMemberCount() <= 2) {
|
||||
emit isDirectChanged();
|
||||
emit directChatAvatarMxidChanged();
|
||||
emit directChatOtherUserIdChanged();
|
||||
}
|
||||
} else if (std::holds_alternative<StateEvent<state::Encryption>>(e)) {
|
||||
this->isEncrypted_ = cache::isRoomEncrypted(room_id_.toStdString());
|
||||
|
|
@ -2080,7 +2080,7 @@ TimelineModel::roomMemberCount() const
|
|||
}
|
||||
|
||||
QString
|
||||
TimelineModel::directChatAvatarMxid() const
|
||||
TimelineModel::directChatOtherUserId() const
|
||||
{
|
||||
if (roomMemberCount() < 3) {
|
||||
QString id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue