story-kit: merge 324_story_slack_bot_integration_for_bot_commands
This commit is contained in:
@@ -62,9 +62,12 @@ pub fn spawn_bot(
|
||||
}
|
||||
};
|
||||
|
||||
// WhatsApp transport is handled via HTTP webhooks, not the Matrix sync loop.
|
||||
if config.transport == "whatsapp" {
|
||||
crate::slog!("[bot] transport=whatsapp — skipping Matrix bot; webhooks handle WhatsApp");
|
||||
// WhatsApp and Slack transports are handled via HTTP webhooks, not the Matrix sync loop.
|
||||
if config.transport == "whatsapp" || config.transport == "slack" {
|
||||
crate::slog!(
|
||||
"[bot] transport={} — skipping Matrix bot; webhooks handle this transport",
|
||||
config.transport
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user