mirror of
				https://gitlab.com/comunic/comunicmessages
				synced 2025-11-04 12:14:05 +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