actually add the variable to the statement
This commit is contained in:
parent
9811e2328f
commit
b5c9c3874f
2
bot.py
2
bot.py
|
@ -464,7 +464,7 @@ class Bot:
|
|||
room: MatrixRoom
|
||||
event: InviteEvent
|
||||
|
||||
if room.room_id.split(':')[1] != self.matrix_user.split(':')[1]:
|
||||
if self.homeserver_only and room.room_id.split(':')[1] != self.matrix_user.split(':')[1]:
|
||||
self.logger.error(f'Cannot join room {room.display_name}, as it is not on the homeserver')
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue