[bugfix] Fix #400 error when adding a member to admin list#13
Closed
iTaysonLab wants to merge 1 commit intomainfrom
Closed
[bugfix] Fix #400 error when adding a member to admin list#13iTaysonLab wants to merge 1 commit intomainfrom
iTaysonLab wants to merge 1 commit intomainfrom
Conversation
Signed-off-by: iTaysonLab <9827543+iTaysonLab@users.noreply.github.com>
vkryl
reviewed
Aug 28, 2021
| return false; | ||
| } | ||
| } else if (currentPickMode == MODE_MEMBER_ADMIN) { | ||
| if (isAlreadyMember(user.id) && !tdlib.isSelfUserId(user.id) && membersAdapter != null && membersAdapter.getChatMember(user.id) != null) { |
Member
There was a problem hiding this comment.
membersAdapter != null && membersAdapter.getChatMember(user.id) != null means that any user that's not loaded on the list will not be covered by this fix.
vkryl
reviewed
Aug 28, 2021
| } | ||
| } else if (currentPickMode == MODE_MEMBER_ADMIN) { | ||
| if (isAlreadyMember(user.id) && !tdlib.isSelfUserId(user.id) && membersAdapter != null && membersAdapter.getChatMember(user.id) != null) { | ||
| tdlib.client().send(new TdApi.GetChatMember(chat.id, new TdApi.MessageSenderUser(user.id)), r -> { |
Member
There was a problem hiding this comment.
Given that there's a preceding membersAdapter.getChatMember(user.id) != null check, requesting fresh status from server here isn't a requirement, client could use membersAdapter.getChatMember(user.id).
Member
|
This is not a proper fix:
Fixed in 059fba7 by supporting basic groups in |
japananimetime
added a commit
to japananimetime/Telegram-X
that referenced
this pull request
Dec 29, 2025
…h share UI - Fix unread badge not respecting mute state (issue TGX-Android#2) Added forumTopicNeedsMuteIcon() to properly check topic/chat mute hierarchy - Fix forum badge not updating after reading all topics (issue TGX-Android#4) Call updateForumTopicUnreadCount() after fetching fresh topic data - Fix read receipts not showing in topic messages (issue TGX-Android#9) Call manager.updateChatReadOutbox() in onForumTopicUpdated - Fix notification not opening correct topic (issue TGX-Android#14.2) Pass messageThreadId through notification intent chain - Polish share to topic UI with colored icons (issue TGX-Android#13) Show colored circle emoji and pin indicator for each topic 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
logopek
pushed a commit
to logopek/reX
that referenced
this pull request
Jan 5, 2026
…h share UI - Fix unread badge not respecting mute state (issue TGX-Android#2) Added forumTopicNeedsMuteIcon() to properly check topic/chat mute hierarchy - Fix forum badge not updating after reading all topics (issue TGX-Android#4) Call updateForumTopicUnreadCount() after fetching fresh topic data - Fix read receipts not showing in topic messages (issue TGX-Android#9) Call manager.updateChatReadOutbox() in onForumTopicUpdated - Fix notification not opening correct topic (issue TGX-Android#14.2) Pass messageThreadId through notification intent chain - Polish share to topic UI with colored icons (issue TGX-Android#13) Show colored circle emoji and pin indicator for each topic 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
japananimetime
added a commit
to japananimetime/Telegram-X
that referenced
this pull request
Jan 17, 2026
…h share UI - Fix unread badge not respecting mute state (issue TGX-Android#2) Added forumTopicNeedsMuteIcon() to properly check topic/chat mute hierarchy - Fix forum badge not updating after reading all topics (issue TGX-Android#4) Call updateForumTopicUnreadCount() after fetching fresh topic data - Fix read receipts not showing in topic messages (issue TGX-Android#9) Call manager.updateChatReadOutbox() in onForumTopicUpdated - Fix notification not opening correct topic (issue TGX-Android#14.2) Pass messageThreadId through notification intent chain - Polish share to topic UI with colored icons (issue TGX-Android#13) Show colored circle emoji and pin indicator for each topic 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.