Small fix for #373.

This commit is contained in:
Martin Rotter 2021-03-05 07:15:02 +01:00
parent d6630f7ff6
commit 0f8ce5f7de
2 changed files with 7 additions and 2 deletions

View File

@ -30,7 +30,7 @@
<url type="donation">https://martinrotter.github.io/donate/</url>
<content_rating type="oars-1.1" />
<releases>
<release version="3.9.0" date="2021-03-03"/>
<release version="3.9.0" date="2021-03-05"/>
</releases>
<content_rating type="oars-1.0">
<content_attribute id="violence-cartoon">none</content_attribute>

View File

@ -184,7 +184,12 @@ void MessageObject::setIsDeleted(bool is_deleted) {
}
QString MessageObject::feedCustomId() const {
return m_feedCustomId;
if (m_feedCustomId.isEmpty() || m_feedCustomId == QString::number(NO_PARENT_CATEGORY)) {
return m_message->m_feedId;
}
else {
return m_feedCustomId;
}
}
int MessageObject::accountId() const {