-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
Description
Environment:
- Telegram app: Mobile app
- Using TDLib with TypeScript bindings via tdl v8.0.1
Issue Summary:
When users join a basic group created via createNewBasicGroupChat using an invite link, TDLib intermittently fails to emit the messageChatAddMembers update, despite the user successfully joining the group. It's unclear whether this is a TDLib issue or related to the Android/iOS Telegram apps.
Frequency:
Intermittent - roughly 1 in 50 attempts (not consistently reproducible)
Steps to Reproduce:
- Create a new basic group using
createNewBasicGroupChat - Use the default invite link created with the group (same behavior occurs with links created via
createChatInviteLink) - Share invite link with a user
- User clicks the invite link in Telegram mobile app
- User clicks "Join" button
- Loading spinner appears and disappears
- User is not navigated to the group chat
Expected Behavior:
- User should be navigated to the group chat after joining
- TDLib should emit a
messageChatAddMembersupdate - Group should appear in the user's chat list
Actual Behavior:
- User successfully joins the group (confirmed as member)
- No
messageChatAddMembersupdate is fired by TDLib - User is not navigated to the group
- Group does not appear in chat list initially
- Clicking the invite link again navigates to the group (no join prompt) but group still missing from chat list
Additional Observations:
- This occurs with both the default group invite link and links created via
createChatInviteLink - If the user leaves the group and joins again, the
messageChatAddMembersevent typically fires correctly - The user does become a member of the group (verified)
- The missing update prevents proper UI synchronization
Questions:
- Is this a known issue with TDLib or potentially related to the mobile Telegram apps?
- Are there known conditions that could prevent the
messageChatAddMembersupdate from being emitted? - Should there be additional fallback mechanisms to detect membership changes?
Metadata
Metadata
Assignees
Labels
No labels