Commit graph

5 commits

Author SHA1 Message Date
09e2d24a4a Don't 500 on channel sends with an unresolvable @mention
A channel post containing an @token that is not a syntactically valid
username (too short, leading digit, etc.) made messages.sendMessage return
500 INTERNAL_SERVER_ERROR: mentionedUserIDsFromMessage turned every
ResolveUsername error into internalErr().

Skip tokens that fail with ErrUsernameInvalid / ErrUsernameNotOccupied
instead, matching real Telegram (the message sends, the client renders the
mention and only fails to open it on tap). Only unexpected storage errors
still abort. Same fix applied to the bot send path.
2026-09-14 11:52:52 +01:00
onysd
21a0856587 merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
A
766c5db992 feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
A
56d995474c fix: sync session membership routing fixes 2026-07-06 14:28:06 +08:00
A
70b6820474 chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00