aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-08-31 13:00:46 +0200
committerGravatar GitHub <noreply@github.com> 2022-08-31 13:00:46 +0200
commita8353e4b4c9cd17c94fa63792f4ce23a3040284a (patch)
tree25b0ea530d484304755bbe8c1ef796855d6bfee3
parentb5f1c3f29dbd99a65412edbfcadb6e032ddc988e (diff)
Compat Readrops (#4568)
While waiting for https://github.com/readrops/Readrops/pull/163 #fix https://github.com/FreshRSS/FreshRSS/issues/4567
-rw-r--r--app/Models/Entry.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php
index 8d20e5412..feb094347 100644
--- a/app/Models/Entry.php
+++ b/app/Models/Entry.php
@@ -689,6 +689,7 @@ class FreshRSS_Entry extends Minz_Model {
];
if ($mode === 'compat') {
$item['title'] = escapeToUnicodeAlternative($this->title(), false);
+ unset($item['alternate'][0]['type']);
} elseif ($mode === 'freshrss') {
$item['guid'] = $this->guid();
unset($item['summary']);