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.
This commit is contained in:
parent
8f2cc288ad
commit
4e1e15e3cc
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ allow-direct-references = true
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "matrix-reportbot"
|
name = "matrix-reportbot"
|
||||||
version = "0.0.2"
|
version = "0.0.3"
|
||||||
|
|
||||||
authors = [
|
authors = [
|
||||||
{ name="Private.coffee Team", email="support@private.coffee" },
|
{ name="Private.coffee Team", email="support@private.coffee" },
|
||||||
|
|
|
@ -588,7 +588,7 @@ class ReportBot:
|
||||||
# Accept pending invites
|
# Accept pending invites
|
||||||
|
|
||||||
self.logger.log("Joining rooms...", "debug")
|
self.logger.log("Joining rooms...", "debug")
|
||||||
self.accept_pending_invites()
|
await self.accept_pending_invites()
|
||||||
|
|
||||||
# Set custom name
|
# Set custom name
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue