brokerd: answers carry the Mattermost post; Table::contains

Implemented-By: OpenCode session (model recorded in docs/implementer-log.md)
This commit is contained in:
2026-09-24 04:15:11 -07:00
parent a5c37d8756
commit a00711e379
8 changed files with 172 additions and 27 deletions
+5 -1
View File
@@ -177,10 +177,14 @@ fn approved_and_refused_calls_run_only_after_an_approval() {
continue;
};
let answer = if item.approval % 2 == 0 {
Answer::Approved { by: None }
Answer::Approved {
by: None,
post: None,
}
} else {
Answer::Refused {
by: None,
post: None,
reason: None,
}
};