Add support for non-blocking media sends.

This commit is contained in:
Greyson Parrelli
2020-06-06 18:49:19 -04:00
parent 13027dc44b
commit 1234899ea1
11 changed files with 92 additions and 19 deletions

View File

@@ -110,7 +110,11 @@ public class RecipientId implements Parcelable, Comparable<RecipientId> {
}
public @NonNull String toQueueKey() {
return "RecipientId::" + id;
return toQueueKey(false);
}
public @NonNull String toQueueKey(boolean forMedia) {
return "RecipientId::" + id + (forMedia ? "::MEDIA" : "");
}
@Override