mirror of https://github.com/NekoX-Dev/NekoX.git
🐛 allow private group channel copy link
(cherry picked from commit df1a77f3cb3e937b26ac1a9c7979c2efe56e18d1)
This commit is contained in:
parent
4ceb225850
commit
0b31c484b4
|
@ -14014,7 +14014,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||
options.add(3);
|
||||
icons.add(R.drawable.msg_copy);
|
||||
}
|
||||
if (!inScheduleMode && ChatObject.isChannel(currentChat) && (currentChat.megagroup || !TextUtils.isEmpty(currentChat.username))) {
|
||||
if (!inScheduleMode && ChatObject.isChannel(currentChat)) {
|
||||
items.add(LocaleController.getString("CopyLink", R.string.CopyLink));
|
||||
options.add(22);
|
||||
icons.add(R.drawable.msg_link);
|
||||
|
|
Loading…
Reference in New Issue