mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-06-02 07:21:04 +00:00
Merge branch '4.1.3' into merge/4.1.3
This commit is contained in:
commit
8592661158
1 changed files with 6 additions and 3 deletions
|
|
@ -729,18 +729,21 @@ public class UserSelectorBottomSheet extends BottomSheetWithRecyclerListView imp
|
|||
int h = 0;
|
||||
if (isSearching()) {
|
||||
for (TLObject peer : searchResult) {
|
||||
if (FakePasscodeUtils.isHidePeer(peer, currentAccount)) {
|
||||
continue;
|
||||
}
|
||||
long did;
|
||||
if (peer instanceof TLRPC.User) {
|
||||
final TLRPC.User user = (TLRPC.User) peer;
|
||||
if (FakePasscodeUtils.isHideChat(user.id, currentAccount)) {
|
||||
continue;
|
||||
}
|
||||
if (user.bot || UserObject.isService(user.id)) continue;
|
||||
did = user.id;
|
||||
h += dp(56);
|
||||
items.add(Item.asUser(user, selectedIds.contains(did)).withOptions(openOptions(user)));
|
||||
} else if (peer instanceof TLRPC.Chat) {
|
||||
final TLRPC.Chat chat = (TLRPC.Chat) peer;
|
||||
if (FakePasscodeUtils.isHideChat(-chat.id, currentAccount)) {
|
||||
continue;
|
||||
}
|
||||
if (type != TYPE_TRANSFER) continue;
|
||||
if (!ChatObject.isChannelAndNotMegaGroup(chat)) continue;
|
||||
did = -chat.id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue