|
@@ -81,7 +81,7 @@ public class RecommendGroupAdapter extends BaseQuickAdapter<MoreGroupBean.MoreGr
|
|
|
helper.itemView.setOnClickListener(v -> {
|
|
|
if (UserConfig.getInstance(fragment.getCurrentAccount()).isClientActivated()) {
|
|
|
//跳转到对应群组聊天页
|
|
|
- long chatID = Long.parseLong(item.group_id);
|
|
|
+/* long chatID = Long.parseLong(item.group_id);
|
|
|
ConcurrentHashMap<Long, TLRPC.Chat> chats = fragment.getMessagesController().getChats();
|
|
|
TLRPC.Chat chat = chats.get(chatID);
|
|
|
if (chat != null) {
|
|
@@ -89,7 +89,7 @@ public class RecommendGroupAdapter extends BaseQuickAdapter<MoreGroupBean.MoreGr
|
|
|
bundle.putLong("chat_id", chatID);
|
|
|
fragment.presentFragment(new ChatActivity(bundle));
|
|
|
syncGroupDataToCricdit(chat,item.private_link,item.public_link);
|
|
|
- } else {
|
|
|
+ } else {*/
|
|
|
if (alertDialog != null) {
|
|
|
alertDialog.show();
|
|
|
}
|
|
@@ -109,7 +109,7 @@ public class RecommendGroupAdapter extends BaseQuickAdapter<MoreGroupBean.MoreGr
|
|
|
ToastUtil.show(fragment.getParentActivity(), LocaleController.getString(R.string.CdExpiredGroup));
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+// }
|
|
|
} else {
|
|
|
fragment.presentFragment(new LoginActivity());
|
|
|
}
|