Matrix Integration Broken in 2023.10.0?

After upgrading to 2023.10.0 I can no longer send messages to my local Matrix instance. This worked just fine before the upgrade. I’m getting the below error stating the user is not in the room, but the user is clearly in the room if I review the member list. I can see that there was a change to the Matrix integration in this release, perhaps there’s something I need to change with my setup? Anyone have similar problems or could point me in the right direction?

Unable to deliver message to room '#hassadmin:matrix.domain.name': RoomSendError: M_FORBIDDEN User @hass:matrix.domain.name not in room #hassadmin:matrix.domain.name
1 Like

I’ve got the same problem since 2023.10.0. I have removed the Home Assistant user from the matrix rooms and reinvited him. According to synapse he rejoins the rooms but the Home Assistant log says that the Message could not be delivered because the user ist not in the rooms…

1 Like

I just upgraded to 2023.10.1 (not that I expected it to fix anything). I’ve tried removing and re-adding the user as well. I tried creating a brand new room and adding the user. I even logged into the account with another PC and sent some messages in the room. No dice. I don’t know why it won’t work but I’m starting to consider downgrading to 2023.9.

Oh, I also tried upgrading the user to moderator, then admin. No luck there either.

Looks like this may be related. I’ll be trying this later.

EDIT: Per the above link, changing the room names in my configuration from the aliases to the ones that start with ! has fixed my problem.

2 Likes

Just fyi, this fixed my integration as well - thanks so much for finding this info because I was ready to pull my hair out!

Ryan

1 Like

thank you it solved my issue :slight_smile:

1 Like