Port away from remove things in libquotient

Mostly the User class and Omittable
This commit is contained in:
Tobias Fella
2024-06-27 23:05:55 +02:00
parent 2e0c074a9b
commit 9ab8f796d8
33 changed files with 253 additions and 305 deletions

View File

@@ -96,9 +96,9 @@ QVariantMap ChatBarCache::relationUser() const
return {};
}
if (m_relationId.isEmpty()) {
return room->getUser(nullptr);
return room->getUser(QString());
}
return room->getUser(room->user((*room->findInTimeline(m_relationId))->senderId()));
return room->getUser((*room->findInTimeline(m_relationId))->senderId());
}
QString ChatBarCache::relationMessage() const