Fix compilation against libQuotient 0.6

This commit is contained in:
Tobias Fella
2022-05-30 14:41:00 +02:00
parent 5a7c3295dc
commit 7214936eaa
2 changed files with 8 additions and 0 deletions

View File

@@ -23,5 +23,9 @@ const EventContent::ImageContent &StickerEvent::image() const
QUrl StickerEvent::url() const
{
#ifdef QUOTIENT_07
return m_imageContent.url();
#else
return m_imageContent.url;
#endif
}