mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-15 13:35:04 -05:00
do not accept LMC for files
This commit is contained in:
parent
612e0afa63
commit
e722ef6477
@ -268,7 +268,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
|
|||||||
if (counterpart.equals(message.getCounterpart())
|
if (counterpart.equals(message.getCounterpart())
|
||||||
&& ((message.getStatus() == Message.STATUS_RECEIVED) == received)
|
&& ((message.getStatus() == Message.STATUS_RECEIVED) == received)
|
||||||
&& (carbon == message.isCarbon() || received) ) {
|
&& (carbon == message.isCarbon() || received) ) {
|
||||||
if (id.equals(message.getRemoteMsgId())) {
|
if (id.equals(message.getRemoteMsgId()) && !message.isFileOrImage() && !message.treatAsDownloadable()) {
|
||||||
return message;
|
return message;
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user