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:
parent
7d9a7c5b1e
commit
ba67f875df
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user