PrivacyDevel / nitter

Alternative Twitter front-end
https://nitter.net
GNU Affero General Public License v3.0
151 stars 29 forks source link

Likes RSS feed generates empty #54

Open rotorot0 opened 7 months ago

rotorot0 commented 7 months ago

Whenever I try to generate RSS feeds for the likes tab, they always come up completely empty. image

After investigating, turns out that the tweet.user.id parameter in src/views/rss.nimf in line 64 is completely empty, causing the check to fail and exit the if statement.

Changing it to this fixes the issue

#    if tweet.user.id == "":
#      if userId.len > 0 and tweet.user.id == userId: continue
#        end if
#    elif userId.len > 0 and tweet.user.id != userId: continue

image

Here's the commit in my own repo https://github.com/rotorot0/nitter/commit/2969af1f1b226a8dd0e2cc05a9f87ba6406dde9b

RSS feed generation works normally for all other tabs too.

Any ideas to have an actual fix for this or is this good enough?