mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Fix incorrect sql query
This commit is contained in:
parent
795c5f6a04
commit
fb8624f630
1 changed files with 1 additions and 1 deletions
|
@ -884,7 +884,7 @@ public class RecipientStore implements RecipientIdCreator, RecipientResolver, Re
|
|||
final var sql = """
|
||||
SELECT r._id, r.number, r.uuid, r.pni, r.username
|
||||
FROM %s r
|
||||
WHERE r.uuid = ? OR r.pni = ?
|
||||
WHERE r.uuid = ?1 OR r.pni = ?1
|
||||
LIMIT 1
|
||||
""".formatted(TABLE_RECIPIENT);
|
||||
try (final var statement = connection.prepareStatement(sql)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue