diff --git a/bot/access.go b/bot/access.go index bc32d76..eddf8c9 100644 --- a/bot/access.go +++ b/bot/access.go @@ -61,7 +61,7 @@ func (b *Bot) allowOwner(actorID id.UserID, targetRoomID id.RoomID) bool { return true } - return owner == actorID.String() + return owner == actorID.String() || b.allowAdmin(actorID, targetRoomID) } func (b *Bot) allowAdmin(actorID id.UserID, _ id.RoomID) bool {