diff --git a/resources/desktop/com.github.rssguard.appdata.xml b/resources/desktop/com.github.rssguard.appdata.xml
index c4a4542df..3c5eb5c37 100644
--- a/resources/desktop/com.github.rssguard.appdata.xml
+++ b/resources/desktop/com.github.rssguard.appdata.xml
@@ -26,7 +26,7 @@
https://github.com/sponsors/martinrotter
-
+
none
diff --git a/src/librssguard/core/messageobject.cpp b/src/librssguard/core/messageobject.cpp
index 0d81d578f..8d9603c4c 100644
--- a/src/librssguard/core/messageobject.cpp
+++ b/src/librssguard/core/messageobject.cpp
@@ -17,6 +17,10 @@ void MessageObject::setMessage(Message* message) {
m_message = message;
}
+bool MessageObject::isDuplicate(DuplicationAttributeCheck attribute_check) const {
+ return isDuplicateWithAttribute(attribute_check);
+}
+
bool MessageObject::isDuplicateWithAttribute(MessageObject::DuplicationAttributeCheck attribute_check) const {
// Check database according to duplication attribute_check.
QSqlQuery q(*m_db);
diff --git a/src/librssguard/core/messageobject.h b/src/librssguard/core/messageobject.h
index 273894fde..904712654 100644
--- a/src/librssguard/core/messageobject.h
+++ b/src/librssguard/core/messageobject.h
@@ -78,6 +78,7 @@ class MessageObject : public QObject {
// Check if message is duplicate with another messages in DB.
// Parameter "attribute_check" is DuplicationAttributeCheck enum
// value casted to int.
+ Q_INVOKABLE bool isDuplicate(MessageObject::DuplicationAttributeCheck attribute_check) const;
Q_INVOKABLE bool isDuplicateWithAttribute(MessageObject::DuplicationAttributeCheck attribute_check) const;
// Adds given label to list of assigned labels to this message.