mirror of
https://gitlab.com/comunic/comunicmessages
synced 2025-11-04 12:14:05 +00:00
Display conversation messages.
This commit is contained in:
@@ -54,3 +54,8 @@ void ConversationMessage::setImagePath(const QString &imagePath)
|
||||
{
|
||||
mImagePath = imagePath;
|
||||
}
|
||||
|
||||
bool ConversationMessage::operator<(const ConversationMessage &b) const
|
||||
{
|
||||
return b.iD() > iD();
|
||||
}
|
||||
|
||||
@@ -29,6 +29,8 @@ public:
|
||||
QString imagePath() const;
|
||||
void setImagePath(const QString &imagePath);
|
||||
|
||||
bool operator<(const ConversationMessage &b) const;
|
||||
|
||||
private:
|
||||
int mID;
|
||||
int mUserID;
|
||||
|
||||
Reference in New Issue
Block a user