🐛 allow private group channel copy link

(cherry picked from commit df1a77f3cb3e937b26ac1a9c7979c2efe56e18d1)
This commit is contained in:
Riko Sakurauchi 2020-04-03 01:14:42 +08:00 committed by 世界
parent 4ceb225850
commit 0b31c484b4
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
1 changed files with 1 additions and 1 deletions

View File

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