Closed bpcurse closed 4 years ago
Does the logs contain something suspicious or some errors when this behavior appears? Does it work if you kick the user and the bot from the room and invite the bot again? Does inviting the bot into a new room work?
Does inviting the bot into a new room work?
Yes it does. It shows the welcome message and reacts to the !help and !login commands correctly.
Does it work if you kick the user and the bot from the room and invite the bot again?
I did log in as the new power level 100 user and left the room (this user is a global synapse admin, too). Interestingly the email bot left immediately together with the new admin user, so this probably is somehow connected :thinking: I guess it is not intended that the bot follows a certain user "to the exit" :wink: Maybe some weird synapse issue? I could reinvite the bot and it joined the room, but it still does not respond to commands.
Does the logs contain something suspicious or some errors when this behavior appears?
The log does not show room invites to the bot (but that is another issue). There is no error logged.
As a workaround I will simply close the room and use another one instead. In every other room it works fine. If the exact steps necessary to reproduce this issue can be identified, I will report them here.
If a non bot user leaves a room, the bot gets kicked. This was implemented to avoid empty rooms with only the bot in it.
I'll try to reproduce your bug with the information you gave me. Otherwise if you get any further information/bugs, tell me.
If the bot leaves every time a non bot user leaves the room, this behavior should be reevaluated for rooms with multiple users. The bot should not exit if there are still users left in the room.
Yes you're right. I'll change this in future commits.
I've identified the problem. It was me :see_no_evil:
Quite simple cause: To prevent users from posting in this "receive emails only" room, I've set the necessary power level to send messages to Moderator (50) which was not assigned to the bot.
Happy holidays! :christmas_tree:
I have encountered a rather strange behavior probably after updating to the latest git version. EmailBridge is working nicely in a pre-existing room and in a room created after the update, but it stopped working in another pre-existing room.
Unfortunately I cannot recreate the circumstances that led to the issue. The only thing that is different - but I can't really imagine how this should be involved - I have invited another user to the affected room and given this user power level 100.
What happens?
How I tried to fix it:
Kick the bot and reinvite, bot reenters the room, no welcome message is displayed (probably normal behavior if it has joined the room before?) -> No reaction to commands
Kick the bot, restart the server component, reinvite -> no change in behavior
@JojiiOfficial Do you have any idea what I could do to troubleshoot this situation?