Jelajahi Sumber

Compat Readrops (#4568)

While waiting for https://github.com/readrops/Readrops/pull/163
#fix https://github.com/FreshRSS/FreshRSS/issues/4567
Alexandre Alapetite 3 tahun lalu
induk
melakukan
a8353e4b4c
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      app/Models/Entry.php

+ 1 - 0
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']);