Commit 42271f5
fix: update stale messenger_type strings after chat-system migration
- streaming.rs: Change 'teams' to 'msteams' and 'google_chat' to
'googlechat' in recommended_strategy() to match chat-system's
messenger_type() return values. Without this fix, Teams and Google
Chat fall through to the default BufferAll strategy instead of
the intended EditInPlace strategy.
- messenger_handler.rs: Add 'msteams' and 'googlechat' arms to
get_platform_formatting_guide() so Teams and Google Chat messages
get platform-specific formatting guidance instead of the generic
default.
Co-Authored-By: Erica Stith <rexlunae@gmail.com>1 parent e66b5d3 commit 42271f5
File tree
2 files changed
+17
-1
lines changed- crates/rustyclaw-core/src
- gateway
- messengers
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1008 | 1008 | | |
1009 | 1009 | | |
1010 | 1010 | | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
1011 | 1027 | | |
1012 | 1028 | | |
1013 | 1029 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| |||
0 commit comments