owpengram-server/internal/store
Astra 879ff48b49 channels: force pre-history visible when a group gets a public username
New supergroups are created with "chat history for new members" hidden (the
client sets this right after creation, matching official Telegram). The
official server then forces it back to visible when the group is made public;
owpengram's UpdateUsername left the flag alone, leaving public groups in a
state where non-members (and post-join members) see no history at all.

UpdateUsername now clears pre_history_hidden whenever a non-empty username is
assigned, in the same transaction, with a matching admin-log event. Removing
the username leaves the flag untouched, so the creator can hide history again
once the group is private.
2026-09-09 12:51:23 +01:00
..
memory channels: force pre-history visible when a group gets a public username 2026-09-09 12:51:23 +01:00
postgres channels: force pre-history visible when a group gets a public username 2026-09-09 12:51:23 +01:00
redisstore feat(loadtest): sync add real 500-session capacity harness 2026-08-02 12:05:00 +08:00
storetest perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
account.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
account_lifecycle.go feat: sync account deletion lifecycle 2026-07-19 20:35:58 +08:00
ai.go feat: sync AI compose and ChatBot features 2026-07-03 19:43:20 +08:00
album_group.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
allocator.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
auth_delivery_report.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
authkey.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
authkey_session_layer.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
authkey_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
authorization.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
bootstrap_update_job.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
bot.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
bot_callback.go feat: sync bot keyboards and callbacks 2026-07-19 20:38:48 +08:00
bot_verification.go feat: add NFT usernames and bot verification (#22) 2026-07-28 01:18:00 +08:00
botapi_update.go feat: sync bot keyboards and callbacks 2026-07-19 20:38:48 +08:00
broadcast.go added ability to broadcast 2026-08-06 15:22:36 +03:00
channel.go removed all "paid" features - no more stars, gifts, or grams 2026-08-07 01:50:10 +03:00
chatlist.go feat: sync chatlist sharing support 2026-07-06 21:06:33 +08:00
client_telemetry.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
code.go fix: sync harden auth, privacy, and PTS state 2026-08-02 14:12:04 +08:00
collectible_username.go fix(usernames): sync index active collectible aliases 2026-07-28 16:22:34 +08:00
community.go feat: sync community aggregates 2026-07-20 16:46:02 +08:00
contact.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
dialog.go feat: sync message translation support 2026-07-12 14:20:26 +08:00
dispatch_outbox.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
doc.go fix: sync scoped connection and outbox exclusion updates 2026-07-12 12:01:53 +08:00
ephemeral.go feat: sync ephemeral transient messages 2026-07-20 16:43:27 +08:00
gif_catalog.go fix for gifs auto-catigorisation 2026-08-24 23:26:57 +03:00
groupcall.go feat: sync group call livestream support 2026-07-06 14:32:45 +08:00
help.go Initial open source release 2026-06-04 01:37:39 +08:00
inline_registry.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
langpack.go feat: sync langpack and auth updates 2026-07-18 00:07:41 +08:00
login_code_delivery.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
login_code_delivery_test.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
media.go s3 support 2026-08-04 23:09:11 +03:00
message.go feat(messages): sync saved message tags 2026-07-25 19:23:19 +08:00
moderation.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
passkey.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
phone_change.go feat: sync public links and phone change updates 2026-07-10 22:01:44 +08:00
poll.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
privacy.go fix: sync non-PTS privacy updates 2026-07-24 11:57:00 +08:00
private_no_forwards.go fix: sync support private chat content protection 2026-07-28 16:22:33 +08:00
private_send_idempotency.go fix(channels): sync monoforum suggested forwards and reactions 2026-07-30 16:05:34 +08:00
private_send_idempotency_test.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
ratelimit.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
read_model.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
read_model_cache.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
read_model_cache_test.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
scheduled_message.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
secretchat.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
send_replay.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
story.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
telegram_login.go feat: sync Telegram Login OIDC provider 2026-07-21 15:46:24 +08:00
temp_auth_key.go fix: sync temp auth key expiry boundaries 2026-07-13 23:04:15 +08:00
themes.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
update_event.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
updatestate.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
user.go added ability to change user info 2026-08-05 21:19:50 +03:00
verification.go feat: add NFT usernames and bot verification (#22) 2026-07-28 01:18:00 +08:00