Fix double-remove crash
(cherry picked from commit edcd8fa92d74f1f89c9440d9e1b10bdf5cea4fbe)
This commit is contained in:
parent
5ac185a167
commit
211b1eab80
1 changed files with 1 additions and 3 deletions
|
@ -756,9 +756,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
|
|||
if (asReaction != null) {
|
||||
reactions.put(asReaction.first, asReaction.second);
|
||||
iterator.remove();
|
||||
}
|
||||
|
||||
if (m.wasMergedIntoPrevious(xmppConnectionService) || (m.getSubject() != null && !m.isOOb() && (m.getRawBody() == null || m.getRawBody().length() == 0)) || (getLockThread() && !extraIds.contains(m.replyId()) && (mthread == null || !mthread.getContent().equals(getThread() == null ? "" : getThread().getContent())))) {
|
||||
} else if (m.wasMergedIntoPrevious(xmppConnectionService) || (m.getSubject() != null && !m.isOOb() && (m.getRawBody() == null || m.getRawBody().length() == 0)) || (getLockThread() && !extraIds.contains(m.replyId()) && (mthread == null || !mthread.getContent().equals(getThread() == null ? "" : getThread().getContent())))) {
|
||||
iterator.remove();
|
||||
} else if (getLockThread() && mthread != null) {
|
||||
final var reply = m.getReply();
|
||||
|
|
Loading…
Reference in a new issue