feat: telegram moderation is optional

This commit is contained in:
Lewis Wynne 2026-04-09 19:15:37 +01:00
parent 75f1644cc1
commit 21cadb630b
6 changed files with 44 additions and 33 deletions

View file

@ -160,8 +160,8 @@ mod tests {
data_dir: dir.to_path_buf(),
site_title: "test".into(),
telegram_bot_token: "fake".into(),
telegram_chat_id: 0,
telegram_bot_token: None,
telegram_chat_id: None,
enable_honeypot: true,
max_name_length: 0,
max_message_length: 0,