aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-05-05 20:39:15 +0200
committerChristian Schneppe <christian@pix-art.de>2018-05-05 20:39:15 +0200
commita88700566a783414767f5e88723a373492ae9871 (patch)
treeead5d26b03f544d022119bf136e4ef9921cb7c1e /src/main/java/de/pixart
parent7d5c374fd09bdeaf3acd2dca653e618ecd3e2c71 (diff)
remove " from fts queries
Diffstat (limited to 'src/main/java/de/pixart')
-rw-r--r--src/main/java/de/pixart/messenger/utils/FtsUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/FtsUtils.java b/src/main/java/de/pixart/messenger/utils/FtsUtils.java
index 3a00ac7fd..8ba23fbae 100644
--- a/src/main/java/de/pixart/messenger/utils/FtsUtils.java
+++ b/src/main/java/de/pixart/messenger/utils/FtsUtils.java
@@ -40,7 +40,7 @@ public class FtsUtils {
public static List<String> parse(String input) {
List<String> term = new ArrayList<>();
- for (String part : input.split("\\s+")) {
+ for (String part : input.replace('"', ' ').split("\\s+")) {
if (part.isEmpty()) {
continue;
}