Browse Source

fix: bugfix release v0.0.3, fix invite handling

This update bumps the project version to 0.0.3 and modifies the bot's behavior to handle room invites asynchronously, improving the efficiency of joining rooms on startup. By adopting `await` for `accept_pending_invites`, the bot can now manage invites more responsively, potentially enhancing user experience during high-volume invite periods.

This change reflects our commitment to continuous improvement, addressing scalability and responsiveness as the bot becomes integrated into larger ecosystems or faces more demanding operational contexts.

No issues explicitly referenced, but this enhancement is part of ongoing efforts to refine the bot's functionality and reliability.
Kumi 6 months ago
parent
commit
4e1e15e3cc
2 changed files with 2 additions and 2 deletions
  1. 1 1
      pyproject.toml
  2. 1 1
      src/matrix_reportbot/classes/bot.py

+ 1 - 1
pyproject.toml

@@ -7,7 +7,7 @@ allow-direct-references = true
 
 [project]
 name = "matrix-reportbot"
-version = "0.0.2"
+version = "0.0.3"
 
 authors = [
   { name="Private.coffee Team", email="support@private.coffee" },

+ 1 - 1
src/matrix_reportbot/classes/bot.py

@@ -588,7 +588,7 @@ class ReportBot:
         # Accept pending invites
 
         self.logger.log("Joining rooms...", "debug")
-        self.accept_pending_invites()
+        await self.accept_pending_invites()
 
         # Set custom name