barisusakli / nodebb-plugin-rss

A NodeBB Plugin to post topics using RSS feeds
28 stars 23 forks source link

Use internal topics API instead of calling topics lib directly, pass `timestamp` directly into method #63

Open julianlam opened 4 months ago

julianlam commented 4 months ago

The PR contains two changes:

  1. Updates the topics.post call to call api.topics.create instead. This is to allow topics created via this plugin to be federated via activitypub
  2. Passes timestamp into the call instead of changing the sorted sets after the fact
julianlam commented 4 months ago

Don't merge yet; isEntryNew doesn't seem to work with this new logic.

julianlam commented 4 months ago

Ah works fine if #64 is merged in as well.