/news sends as /mail when an @user is listed within #2

Open
opened 2026-10-05 05:14:18 +02:00 by adam · 3 comments
Owner

/news command sends as a /mail when the @user is listed within. For example, I tried to update the news to call out my email address which has a domain resembling my user ID for LoBBS. This unexpectedly sent a mail to my own user instead of posting as mail I was able to post the exact news message successfully when I removed the @user entry from the /news post body.

/news command sends as a /mail when the @user is listed within. For example, I tried to update the news to call out my email address which has a domain resembling my user ID for LoBBS. This unexpectedly sent a mail to my own user instead of posting as mail I was able to post the exact news message successfully when I removed the @user entry from the /news post body. <!-- github-sync-id:3827501169 -->
Author
Owner

I have a tentative fix for this. Will keep / prefixed commands as their own thing, and a message starting with @username will be a mail.

I have a tentative fix for this. Will keep `/` prefixed commands as their own thing, and a message starting with `@username` will be a mail. <!-- github-comment-id:3862081613 -->
Author
Owner

Oh yeah that's a bug if that's happening.

Oh yeah that's a bug if that's happening. <!-- github-comment-id:3918561402 -->
Author
Owner

this was fixed

this was [fixed](https://github.com/MeshEnvy/lobbs/commit/b60527d92ae7869d95648d4df76204b9ac3554cc) <!-- github-comment-id:4099226890 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/lobbs#2