Commit graph

7 commits

Author SHA1 Message Date
ec815b1487
Improve feed list handling & ensure unique feeds
This commit improves the handling of the feed list by removing
duplicate entries and ensuring that each feed is only listed once. This
change was made to improve the overall stability and performance of the
RSS bot, as well as to simplify the code and make it easier to maintain.
Additionally, this commit addresses a bug where the `listfeeds` command
would not work correctly if there were multiple feeds with the same URL.

This commit also includes an optimization that reduces the number of
network requests made by the RSS bot when fetching feed content. This
should improve the overall performance and reduce the load on servers
hosting RSS feeds.
2024-03-02 17:44:42 +01:00
bd6210bb4a
Add new "removefeed" command to
support deleting feeds in the Matrix RSS Bot

This commit adds a new "removefeed" command to the Matrix RSS Bot,
which allows users to delete existing RSS feeds from the bot's list of
subscribed feeds. The "removefeed" command is added to the "__init__.py"
file in the "matrix_rssbot/classes/commands" directory.
2024-03-02 17:39:39 +01:00
3b95dc0d3e
Splitting feed processing off into async task 2024-03-02 17:13:04 +01:00
8ea8c9208a
Refactor bot state management logic
This commit refactors the code handling bot state management to
improve readability and modularity. The new implementation uses a more
structured approach to handling different types of events, making it
easier to reason about and maintain. Additionally, it fixes an issue
where the bot was not properly handling errors when putting state in
rooms.

This change should improve the overall stability and performance of the
RSS bot, as well as make it easier for developers to understand and work
with the codebase.
2024-03-02 16:24:47 +01:00
ebb9b245a8
Remove unused Join callback 2024-03-02 15:50:59 +01:00
f11a461ad9
Remove unused Join callback 2024-03-02 15:50:51 +01:00
967d738e64
Created RSSBot 2024-03-02 15:31:14 +01:00