MessageEventModel test
Add basic test suite for MessageEventModel
This commit is contained in:
committed by
Carl Schwan
parent
94cf75af68
commit
47c12cb582
@@ -92,6 +92,7 @@ void MessageEventModel::setRoom(NeoChatRoom *room)
|
||||
}
|
||||
|
||||
m_currentRoom = room;
|
||||
Q_EMIT roomChanged();
|
||||
if (room) {
|
||||
m_lastReadEventIndex = QPersistentModelIndex(QModelIndex());
|
||||
room->setDisplayed();
|
||||
|
||||
Reference in New Issue
Block a user