gatewayd: strip a leading mention of this bot; recognise approval commands
This commit is contained in:
@@ -176,10 +176,7 @@ fn channels_are_answered_only_when_named_or_in_our_thread() {
|
||||
&post(&p1, KYLE, SHARED, "", "@boxmaker-straylight start", 5),
|
||||
"O",
|
||||
);
|
||||
assert_eq!(
|
||||
turns.recv_timeout(WAIT).unwrap().content,
|
||||
"@boxmaker-straylight start"
|
||||
);
|
||||
assert_eq!(turns.recv_timeout(WAIT).unwrap().content, "start");
|
||||
mm.wait_posts(1, WAIT);
|
||||
ws.posted(
|
||||
&post(&id('p', 2), KYLE, SHARED, &p1, "@hermes your turn", 6),
|
||||
|
||||
Reference in New Issue
Block a user