mirror of
https://gitlab.com/comunic/comunicmessages
synced 2025-09-19 13:58:49 +00:00
Display conversation images
This commit is contained in:
@@ -50,6 +50,11 @@ QString ConversationMessage::imagePath() const
|
||||
return mImagePath;
|
||||
}
|
||||
|
||||
bool ConversationMessage::hasImage() const
|
||||
{
|
||||
return !mImagePath.isEmpty();
|
||||
}
|
||||
|
||||
void ConversationMessage::setImagePath(const QString &imagePath)
|
||||
{
|
||||
mImagePath = imagePath;
|
||||
|
@@ -27,6 +27,7 @@ public:
|
||||
void setMessage(const QString &message);
|
||||
|
||||
QString imagePath() const;
|
||||
bool hasImage() const;
|
||||
void setImagePath(const QString &imagePath);
|
||||
|
||||
bool operator<(const ConversationMessage &b) const;
|
||||
|
Reference in New Issue
Block a user