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
|
boolean allowRepeat = currentUser != null
|
||||||
|| (currentChat != null && ChatObject.canSendMessages(currentChat));
|
|| (currentChat != null && ChatObject.canSendMessages(currentChat));
|
||||||
boolean allowPrpr = currentUser != null
|
boolean allowPrpr = currentUser != null
|
||||||
|| (currentChat != null && ChatObject.canSendMessages(currentChat) && !currentChat.broadcast);
|
|| (currentChat != null && ChatObject.canSendMessages(currentChat) && !currentChat.broadcast &&
|
||||||
|
message.isFromUser());
|
||||||
if (allowRepeat) {
|
if (allowRepeat) {
|
||||||
items.add(LocaleController.getString("Repeat", R.string.Repeat));
|
items.add(LocaleController.getString("Repeat", R.string.Repeat));
|
||||||
options.add(94);
|
options.add(94);
|
||||||
|
Loading…
Reference in New Issue
Block a user