1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-12-04 06:51:03 +01:00

fix prpr bug

This commit is contained in:
Riko Sakurauchi 2020-01-01 21:58:55 +08:00
parent 7d9a7c5b1e
commit ba67f875df
No known key found for this signature in database
GPG Key ID: 25AC0345B92902AF

View File

@ -13651,7 +13651,8 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
boolean allowRepeat = currentUser != null
|| (currentChat != null && ChatObject.canSendMessages(currentChat));
boolean allowPrpr = currentUser != null
|| (currentChat != null && ChatObject.canSendMessages(currentChat) && !currentChat.broadcast);
|| (currentChat != null && ChatObject.canSendMessages(currentChat) && !currentChat.broadcast &&
message.isFromUser());
if (allowRepeat) {
items.add(LocaleController.getString("Repeat", R.string.Repeat));
options.add(94);