morethanwords/tweb/master • e95fe52 • 1 files, +5/-1 Keep personal account in paid-reaction send-as

Telegram github commits and releases

Telegram github commits and releases

@tgappsupdates

Broadcast from the most important Telegram clients' repositories

4,538 subscribers
Open in Telegram
morethanwords/tweb/mastere95fe521 files, +5/-1
Keep personal account in paid-reaction send-as list

channels.getSendAs(for_paid_reactions=true) omits the personal account;
the client injects it as the default peer. But this.sendAsPeers — the
canonical pool every click handler rebuilds the menu from — was sliced
before that injection, so the personal account was missing from it. The
menu rendered correctly on first open (built from the local list), but
the first selection regenerated it from this.sendAsPeers and dropped the
personal account permanently. Save this.sendAsPeers after folding in the
current/default peer.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

morethanwords/tweb/master07f72889 files, +214/-51
Notify when another user posts a story

Add a local notification when a peer you follow posts a new story, mirroring the message-notification pipeline: the worker dispatches a notificationBuild task carrying a story payload (discriminated union) and the main thread builds and shows it. Respects the existing per-peer/global stories_muted setting, skips own/out/already-read stories, and covers the uncached-peer path so a peer's very first story still notifies.

Story notifications play no sound and don't bump the tab-title counter (noIncrement). Clicking opens the peer's stories at the first unread (matching Android and the avatar tap): in-page directly, on the service-worker/background-push path via a custom.story_id marker, and cross-account via a new 'story' hash param.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

#webk
Open post in Telegram