Add property for plain room name
This commit is contained in:
parent
823e740396
commit
44d2818e0c
4 changed files with 8 additions and 3 deletions
|
|
@ -327,6 +327,9 @@ TimelineModel::TimelineModel(TimelineViewManager *manager, QString room_id, QObj
|
|||
this->isSpace_ = create->content.type == mtx::events::state::room_type::space;
|
||||
this->isEncrypted_ = cache::isRoomEncrypted(room_id_.toStdString());
|
||||
|
||||
// this connection will simplify adding the plainRoomNameChanged() signal everywhere that it needs to be
|
||||
connect(this, &TimelineModel::roomNameChanged, this, &TimelineModel::plainRoomNameChanged);
|
||||
|
||||
connect(
|
||||
this,
|
||||
&TimelineModel::redactionFailed,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue