owpengram-server/internal
Astra 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
..
admin merged with fixes 2026-09-09 02:49:30 +03:00
adminapi merged with fixes 2026-09-09 02:49:30 +03:00
app merged with fixes 2026-09-09 02:49:30 +03:00
botapi translated all logs to english 2026-07-25 07:31:27 +03:00
branding merged with fixes 2026-09-09 02:49:30 +03:00
compat merged with fixes 2026-09-09 02:49:30 +03:00
config merged with fixes 2026-09-09 02:49:30 +03:00
domain merged with fixes 2026-09-09 02:49:30 +03:00
hoststats fixes for storage managament 2026-09-03 08:33:06 +03:00
identity improvements for first-time setup 2026-09-08 17:56:26 +03:00
links Merge remote-tracking branch 'upstream/main' into merge-gramsrv-9106877 2026-08-03 23:29:20 +03:00
loadharness merged with fixes 2026-09-09 02:49:30 +03:00
loadtest merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
mtprotoedge merged with fixes 2026-09-09 02:49:30 +03:00
observability merged with fixes 2026-09-09 02:49:30 +03:00
otpdelivery fix: sync harden auth, privacy, and PTS state 2026-08-02 14:12:04 +08:00
postresponse fix: sync MTProto startup and egress fixes 2026-07-13 19:05:41 +08:00
procctl fixes for storage managament 2026-09-03 08:33:06 +03:00
readmodelcache merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
rpc Don't 500 on channel sends with an unresolvable @mention 2026-09-14 11:52:52 +01:00
rpcresult merged with fixes 2026-09-09 02:49:30 +03:00
seed fix for gif and emojies categories 2026-08-24 22:42:40 +03:00
sfu translated all logs to english 2026-07-25 07:31:27 +03:00
store fix for comments in groups 2026-09-12 19:14:53 +03:00
telegramloginhttp merged with fixes 2026-09-09 02:49:30 +03:00
transport merged with fixes 2026-09-09 02:49:30 +03:00
turnsrv translated all logs to english 2026-07-25 07:31:27 +03:00
updatecdn merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
web merged with fixes 2026-09-09 02:49:30 +03:00
webauthn merged with fixes 2026-09-09 02:49:30 +03:00