Skip to content

Commit 6bc5bfb

Browse files
committed
Correctly account for the sender location
1 parent 3048223 commit 6bc5bfb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/zulip.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,10 +305,7 @@ async fn ping_goals_cmd(
305305
};
306306

307307
let res = MessageApiRequest {
308-
recipient: Recipient::Private {
309-
id: message.sender_id,
310-
email: &message.sender_email,
311-
},
308+
recipient: message.sender_to_recipient(),
312309
content: &format!("End pinging project groups owners: {status}"),
313310
}
314311
.send(&ctx.zulip)

0 commit comments

Comments
 (0)