1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-12-02 21:11:00 +01:00

Allow private group channel copy link

This commit is contained in:
Riko Sakurauchi 2020-04-03 01:14:42 +08:00 committed by NekoInverter
parent 797e1ebde3
commit 1a79157784
No known key found for this signature in database
GPG Key ID: 280D6CCCF95715F9

View File

@ -13977,7 +13977,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);