Skip to content

Triggers should be able to redirect to newly created rooms #1096

@vanstee

Description

@vanstee

There's a bug in how redirects are handled in trigger pipelines. If you startup the bot, create a new room and then create a trigger that redirects to that room, executing the trigger will fail saying the redirect is invalid. However, if you then restart the bot (and the channel exists when the bot starts) the trigger will execute successfully as we expect. There must be an issue where rooms are cached on startup and then looked up from that cache without being updated when a new channel is created. This may be a general issue with all redirects (not just triggers) but I haven't tested that yet.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions