diff --git a/lib/src/main/java/org/asamk/signal/manager/storage/recipients/RecipientStore.java b/lib/src/main/java/org/asamk/signal/manager/storage/recipients/RecipientStore.java index 68ea4895..1f6c0a0d 100644 --- a/lib/src/main/java/org/asamk/signal/manager/storage/recipients/RecipientStore.java +++ b/lib/src/main/java/org/asamk/signal/manager/storage/recipients/RecipientStore.java @@ -393,6 +393,7 @@ public class RecipientStore implements RecipientIdCreator, RecipientResolver, Re ) { final var sqlWhere = new ArrayList(); if (onlyContacts) { + sqlWhere.add("r.unregistered_timestamp IS NULL"); sqlWhere.add("(" + SQL_IS_CONTACT + ")"); sqlWhere.add("r.hidden = FALSE"); }