diff options
author | Andreas Straub <andy@strb.org> | 2015-07-09 14:15:59 +0200 |
---|---|---|
committer | Andreas Straub <andy@strb.org> | 2015-07-09 14:15:59 +0200 |
commit | ce4b86e6d45254fc2a590a3cf898addcbe3a8274 (patch) | |
tree | 6662a35a6ab4043e0c17e46b212782e027401999 | |
parent | 34f90f2eb7c4a641994f1cb4bbc32771364d4f79 (diff) |
Fix getSubDeviceSessions SQL query
-rw-r--r-- | src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java b/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java index e408fa7f..4fb01942 100644 --- a/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java +++ b/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java @@ -594,7 +594,7 @@ public class DatabaseBackend extends SQLiteOpenHelper { Cursor cursor = db.query(AxolotlService.SQLiteAxolotlStore.SESSION_TABLENAME, columns, AxolotlService.SQLiteAxolotlStore.ACCOUNT + " = ? AND " - + AxolotlService.SQLiteAxolotlStore.NAME + " = ? AND ", + + AxolotlService.SQLiteAxolotlStore.NAME + " = ?", selectionArgs, null, null, null); |