Skip to content

Commit

Permalink
bug in processing queued deletes
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Jan 21, 2019
1 parent 33bdc35 commit 5b3699e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tinodesdk/src/main/java/co/tinode/tinodesdk/Topic.java
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ public <ML extends Iterator<Storage.Message> & Closeable> PromisedReply<ServerMe
// Get soft-deleted message IDs.
final List<Integer> toSoftDelete = mStore.getQueuedMessageDeletes(this, false);
if (toSoftDelete != null) {
last = mTinode.delMessage(getName(), toSoftDelete, true)
last = mTinode.delMessage(getName(), toSoftDelete, false)
.thenApply(new PromisedReply.SuccessListener<ServerMessage>() {
@Override
public PromisedReply<ServerMessage> onSuccess(ServerMessage result) {
Expand Down

0 comments on commit 5b3699e

Please sign in to comment.