aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs
diff options
context:
space:
mode:
authorAndreas Straub <andy@strb.org>2015-07-09 14:15:59 +0200
committerAndreas Straub <andy@strb.org>2015-07-19 22:17:57 +0200
commit03614a0262639d1f16b0fd13ec2f4ee0767205c9 (patch)
tree77c8884904311cea64cf68ea93a6fabbc933949b /src/main/java/eu/siacs
parent2628662a7f374dc7cbb01869afb6f5f8fdf5f619 (diff)
Fix getSubDeviceSessions SQL query
Diffstat (limited to 'src/main/java/eu/siacs')
-rw-r--r--src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java2
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);