mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 08:47:46 +00:00
Put back some whitespace
This commit is contained in:
parent
42e58c477b
commit
cab1ffec1e
@ -218,6 +218,7 @@ public class SearchRepository {
|
||||
*/
|
||||
private String sanitizeQuery(@NonNull String query) {
|
||||
StringBuilder out = new StringBuilder();
|
||||
|
||||
for (int i = 0; i < query.length(); i++) {
|
||||
char c = query.charAt(i);
|
||||
if (!BANNED_CHARACTERS.contains(c)) {
|
||||
@ -226,6 +227,7 @@ public class SearchRepository {
|
||||
out.append(' ');
|
||||
}
|
||||
}
|
||||
|
||||
return out.toString();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user