fluffychat/test
wcjord 75a237b90c
fix: prioritize bot DM in updateBotOptions, handle DM outside _targetBotChats (#5698)
Closes #5697

- Extract buildUpdatedBotOptions (pure) and applyBotOptionUpdatesInOrder
  (async orchestration) as top-level @visibleForTesting functions
- Handle bot DM independently of _targetBotChats filter — the DM may
  lack a botOptions state event or have a stale activityPlan, but it's
  the most important room to keep current
- Update remaining rooms sequentially (not Future.wait) to avoid rate-limiting
- DM errors propagate; other room errors are logged and isolated
- Add 17 unit tests covering both extracted functions
- Add profile.instructions.md design doc for profile settings architecture
2026-02-14 14:47:05 -05:00
..
pangea fix: prioritize bot DM in updateBotOptions, handle DM outside _targetBotChats (#5698) 2026-02-14 14:47:05 -05:00
utils refactor: sdk 1.0 2025-06-08 11:21:09 +02:00
archive_test.dart fix: Tests 2021-04-13 10:23:57 +02:00
command_hint_test.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
homeserver_picker_test.dart refactor: Sort imports 2021-10-26 18:50:34 +02:00
widget_test.dart refactor: Sort imports 2021-10-26 18:50:34 +02:00