mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +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…
Reference in New Issue
Block a user