owpengram-server/internal/store/memory
Astra 2014c98386 forum: let non-members preview topic replies in a public channel
ListChannelReplies used getChannelForMemberOrLinkedGuest, so messages.getReplies
was member-only. ListChannelHistory (flat history) uses getChannelForViewer and
already allows a public channel's non-members to preview it. The mismatch meant
that on a public forum you could preview the flat history but not the topics -
and after leaving, tdesktop's topic view got CHANNEL_PRIVATE and sat on
"Loading..." forever instead of rendering a preview.

Switch the primary channel lookup in ListChannelReplies (both stores) to the
viewer-scope path. Private channels still return CHANNEL_PRIVATE to non-members;
the broadcast comment-thread lookup is unchanged.
2026-09-14 11:58:47 +01: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
album_group_test.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
auth.go merged with fixes 2026-09-09 02:49:30 +03:00
auth_delivery_report.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
auth_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
authkey_session_layer.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
authkey_session_layer_test.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
authorization_test.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
bootstrap_update_job.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
bootstrap_update_job_test.go feat: defer login bootstrap updates 2026-07-05 03:28:19 +08:00
bot.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
bot_branding_test.go merged with fixes 2026-09-09 02:49:30 +03:00
bot_verification.go feat: add NFT usernames and bot verification (#22) 2026-07-28 01:18:00 +08:00
bot_verification_test.go feat: add NFT usernames and bot verification (#22) 2026-07-28 01:18:00 +08:00
botapi_update.go feat: sync ephemeral transient messages 2026-07-20 16:43:27 +08:00
botapi_update_test.go feat: sync ephemeral transient messages 2026-07-20 16:43:27 +08:00
broadcast.go fixes 2026-09-01 12:50:18 +03:00
business.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
channel_boosts.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
channel_core.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
channel_delete_monoforum_test.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
channel_dialogs.go fix(channels): sync preserve locally cleared dialogs 2026-07-29 16:19:04 +08:00
channel_groupcall.go removed all "paid" features - no more stars, gifts, or grams 2026-08-07 01:50:10 +03:00
channel_helpers.go forum: fix reply_to_top_id for replies inside a forum 2026-09-14 11:55:23 +01:00
channel_invites.go Merge remote-tracking branch 'upstream/main' into merge-gramsrv-2965f5d 2026-07-20 23:43:51 +03:00
channel_linked_guest_authorization_test.go fix: sync protocol and discussion stability fixes 2026-07-12 07:05:02 +08:00
channel_members.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
channel_members_sparse_test.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
channel_message_delete.go fix(channels): sync preserve locally cleared dialogs 2026-07-29 16:19:04 +08:00
channel_message_edit.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
channel_message_helpers.go removed all "paid" features - no more stars, gifts, or grams 2026-08-07 01:50:10 +03:00
channel_message_history.go fix(channels): sync monoforum suggested forwards and reactions 2026-07-30 16:05:34 +08:00
channel_message_send.go removed all "paid" features - no more stars, gifts, or grams 2026-08-07 01:50:10 +03:00
channel_message_settings.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
channel_message_views.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
channel_monoforum.go removed all "paid" features - no more stars, gifts, or grams 2026-08-07 01:50:10 +03:00
channel_monoforum_send_test.go removed all "paid" features - no more stars, gifts, or grams 2026-08-07 01:50:10 +03:00
channel_monoforum_test.go fix: sync harden channel reads and suggested approvals 2026-07-28 16:22:33 +08:00
channel_poll_fanout_test.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
channel_polls.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
channel_reactions.go removed all "paid" features - no more stars, gifts, or grams 2026-08-07 01:50:10 +03:00
channel_read.go fix: sync harden channel reads and suggested approvals 2026-07-28 16:22:33 +08:00
channel_read_clamp_test.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
channel_recovery_test.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
channel_send_idempotency_test.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
channel_settings.go channels: force pre-history visible when a group gets a public username 2026-09-14 11:57:12 +01:00
channel_stats.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
channel_stats_test.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
channel_store.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
channel_suggested_post.go removed all "paid" features - no more stars, gifts, or grams 2026-08-07 01:50:10 +03:00
channel_suggested_post_test.go removed all "paid" features - no more stars, gifts, or grams 2026-08-07 01:50:10 +03:00
channel_test.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
channel_topic_read.go forum: let non-members browse a public forum's topic list 2026-09-14 11:55:23 +01:00
channel_topics.go forum: let non-members preview topic replies in a public channel 2026-09-14 11:58:47 +01:00
channel_update_retention_test.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
channel_updates.go fix: sync public channel preview updates 2026-07-24 14:50:17 +08:00
channel_webpage_resolve_test.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
chatlists.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
client_telemetry_test.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
code_cas.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
code_cas_test.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
code_test.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
collectible_username.go fix(usernames): sync index active collectible aliases 2026-07-28 16:22:34 +08:00
collectible_username_test.go feat: add NFT usernames and bot verification (#22) 2026-07-28 01:18:00 +08:00
community.go fix(usernames): sync index active collectible aliases 2026-07-28 16:22:34 +08:00
community_test.go feat: sync community aggregates 2026-07-20 16:46:02 +08:00
contacts.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
contacts_sparse_test.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
dialog_test.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
dialogs.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
doc.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
ephemeral.go feat: sync ephemeral transient messages 2026-07-20 16:43:27 +08:00
ephemeral_report.go feat: sync ephemeral transient messages 2026-07-20 16:43:27 +08:00
ephemeral_test.go feat: sync ephemeral transient messages 2026-07-20 16:43:27 +08:00
groupcall.go feat: sync group call livestream support 2026-07-06 14:32:45 +08:00
groupcall_test.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
help.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
helpers.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.go feat: sync langpack and auth updates 2026-07-18 00:07:41 +08:00
login_code_delivery.go added messages templates 2026-09-01 14:40:06 +03:00
login_code_delivery_test.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
login_code_invalidate_test.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
login_code_state_test.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
media_pagination_test.go merged with fixes 2026-09-09 02:49:30 +03:00
media_search.go merged with fixes 2026-09-09 02:49:30 +03:00
media_search_test.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
message_allocators.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
message_delete.go fix(messages): sync preserve private dialogs after clearing history 2026-07-29 13:51:02 +08:00
message_edit.go feat: sync rich text message support 2026-07-04 21:15:35 +08:00
message_forward.go fix: sync support private chat content protection 2026-07-28 16:22:33 +08:00
message_helpers.go merged with fixes 2026-09-09 02:49:30 +03:00
message_history.go merged with fixes 2026-09-09 02:49:30 +03:00
message_idempotency_test.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
message_markup_test.go feat: sync bot keyboards and callbacks 2026-07-19 20:38:48 +08:00
message_no_forwards.go fix: sync support private chat content protection 2026-07-28 16:22:33 +08:00
message_no_forwards_test.go fix: sync support private chat content protection 2026-07-28 16:22:33 +08:00
message_pin.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
message_polls.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
message_reactions.go feat(messages): sync saved message tags 2026-07-25 19:23:19 +08:00
message_read.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
message_saved_reactions.go feat(messages): sync saved message tags 2026-07-25 19:23:19 +08:00
message_saved_reactions_test.go feat(messages): sync saved message tags 2026-07-25 19:23:19 +08:00
message_search_test.go merged with fixes 2026-09-09 02:49:30 +03:00
message_send.go merged with fixes 2026-09-09 02:49:30 +03:00
message_store.go merged with fixes 2026-09-09 02:49:30 +03:00
message_test.go merged with fixes 2026-09-09 02:49:30 +03:00
message_webpage_resolve_test.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
moderation.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
moderation_case_test.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
moderation_flags_test.go fix(admin): close PR review blockers 2026-07-23 13:29:04 +08:00
moderation_test.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
password.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
phone_change.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
poll.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
privacy.go business: add privacy-aware user projection 2026-06-14 00:19:59 +08:00
saved_dialog.go fix(messages): sync preserve private dialogs after clearing history 2026-07-29 13:51:02 +08:00
scoped_code_state_test.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
secretchat.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
story.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
story_test.go fix: sync contact phone privacy disclosure 2026-07-24 11:56:58 +08:00
telegram_login.go feat: sync Telegram Login OIDC provider 2026-07-21 15:46:24 +08:00
telegram_login_test.go feat: sync Telegram Login OIDC provider 2026-07-21 15:46:24 +08:00
themes.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
themes_test.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
update_state_delivery_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
updates.go merged with fixes 2026-09-09 02:49:30 +03:00
users.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
users_test.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
verification.go feat: add NFT usernames and bot verification (#22) 2026-07-28 01:18:00 +08:00
verification_test.go feat: add NFT usernames and bot verification (#22) 2026-07-28 01:18:00 +08:00