Search reply if message from/to self

This commit is contained in:
M66B 2019-09-27 09:39:41 +02:00
parent e2db164ce9
commit 17b90fccd8
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}