Fix hiding replaced events
https://invent.kde.org/network/neochat/-/commit/5993c1f6 accidentally switched from SpecialMarksRole to MessageRole which is not only slower but also completely wrong
This commit is contained in:
@@ -16,7 +16,7 @@ bool MessageFilterModel::filterAcceptsRow(int sourceRow, const QModelIndex &sour
|
||||
return false;
|
||||
}
|
||||
|
||||
if (index.data(MessageEventModel::MessageRole).toInt() == 0x10) {
|
||||
if (index.data(MessageEventModel::SpecialMarksRole).toInt() == EventStatus::Replaced) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user