You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Documentation] /sync requires Pin Messages; pinning does not appear used in code #30
Note from reporter
I am new to filing issues on GitHub and am not sure whether the length or structure here is appropriate.
Japanese is my first language; I apologize if any wording is awkward. This issue was drafted with AI assistance.
Summary
During Telegram setup, /sync failed until Pin Messages was granted, even though I could not find any pin API usage in the codebase. This note reports that mismatch between runtime checks, docs, and behavior—not to request a reply or ongoing discussion.
Environment (for reference)
CursorRemote 0.1.46, Telegram transport under src/server/transports/telegram/
Supergroup with Topics; bot as administrator
What I saw
Manage Topics and Delete Messages ON, Pin Messages OFF → /sync reported missing Pin Messages
After enabling Pin Messages, /sync succeeded; I still did not notice the bot pinning chat messages (forum system messages aside)
if (!member.can_pin_messages) missing.push('Pin Messages') (~L124)
Search for pinMessage / pin_message in the repo surfaced this check only—not pin calls elsewhere.
Delete Messages does appear used (e.g. deleteMessage for ephemeral activity in base.ts), which makes that requirement understandable.
Documentation reference
Location
Pin Messages
README.md Manual Setup (~L238)
Only Manage Topics mentioned
docs/setup-guide.md (~L240)
Manage Topics, Delete Messages, Pin Messages
/sync error text
All three required
Observation (not a support request)
Required permissions, README, setup-guide, and actual API usage may deserve one consistent story (especially whether Pin is needed today). If requiring Pin was leftover from an earlier design, tightening /sync and the docs might help. I do not expect a response; posting this only so the inconsistency is on record.
Possible user impact
Users who prefer not to grant pin rights to bots may be blocked from /sync despite pinning not seeming to be part of current behavior. Mixed docs add friction during first-time setup.
Fixed in v0.1.47: you were right that nothing ever pins — removed both the docs requirement and the dead can_pin_messages check, so /sync no longer asks for Pin Messages at all.
Activity
v0.1.47
len5ky commentedon Jul 7, 2026
Fixed in v0.1.47: you were right that nothing ever pins — removed both the docs requirement and the dead can_pin_messages check, so /sync no longer asks for Pin Messages at all.
v0.1.47