mirror of https://github.com/M66B/FairEmail.git
Search reply if message from/to self
This commit is contained in:
parent
e2db164ce9
commit
17b90fccd8
|
@ -1839,6 +1839,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (outgoing && message.reply != null &&
|
||||||
|
MessageHelper.equal(message.from, message.to))
|
||||||
|
return message.reply;
|
||||||
|
|
||||||
return (outgoing ? message.to : message.from);
|
return (outgoing ? message.to : message.from);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue