You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't fail when running !welcome_server at all, just when matrix_poll detects new users when no message has been configured. This could be fixed if hemppa adds a basic template message when no message is returned from account data.
Hi getting this error when enabled the welcome server module. (running in docker)
Traceback (most recent call last):
File "./bot.py", line 467, in poll_timer
await moduleobject.matrix_poll(self, self.pollcount)
File "/bot/modules/welcome_server.py", line 54, in matrix_poll
server_user_delta = self.get_server_user_delta(bot)
File "/bot/modules/welcome_server.py", line 115, in get_server_user_delta
user_list = self.get_server_user_list()
File "/bot/modules/welcome_server.py", line 127, in get_server_user_list
self.welcome_settings["user_query_host"] + "/_synapse/admin/v2/users",
KeyError: 'user_query_host'
I tried replacing the variable by the url and got another error:
Traceback (most recent call last):
File "./bot.py", line 467, in poll_timer
await moduleobject.matrix_poll(self, self.pollcount)
File "/bot/modules/welcome_server.py", line 64, in matrix_poll
server_user_delta = self.get_server_user_delta(bot)
File "/bot/modules/welcome_server.py", line 128, in get_server_user_delta
self.welcome_settings["last_server_users"]
KeyError: 'last_server_users'
The text was updated successfully, but these errors were encountered: