summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-11-25 19:04:05 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-11-25 19:52:22 +0100
commit052178a79f9099d1ce3c36e56334cdc15911ef09 (patch)
treea106b873613c6d49579337822316771ef9606028 /db
parent52b701c8d484362f47a8c57d8e5005d2bc6d6e6f (diff)
also consider enclosure for fingerprint
Diffstat (limited to 'db')
-rw-r--r--db/item.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/item.php b/db/item.php
index a314baf7a..117e98fb5 100644
--- a/db/item.php
+++ b/db/item.php
@@ -221,7 +221,8 @@ class Item extends Entity implements IAPI, \JsonSerializable {
}
private function computeFingerprint() {
- return md5($this->getTitle() . $this->getUrl() . $this->getBody());
+ return md5($this->getTitle() . $this->getUrl() . $this->getBody() .
+ $this->getEnclosureLink());
}
public function setUrl($url) {