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
1 changed files with 1 additions and 1 deletions

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);