diff options
author | lookshe <github@lookshe.org> | 2015-04-11 20:53:25 +0200 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2015-04-11 20:53:25 +0200 |
commit | 94a669fcb861d9cff4414d98abb289d1452c9300 (patch) | |
tree | 9443c42eb6b8f9a874cac59fd01dd13bcc43d090 /src/main/java/eu/siacs/conversations/utils | |
parent | 3a814addab32a46fea677765032e5d4ba8bb5161 (diff) |
no trim of messages or password
check password with only spaces separately
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/utils/UIHelper.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/utils/UIHelper.java b/src/main/java/eu/siacs/conversations/utils/UIHelper.java index 0ddf606f..0bea6e53 100644 --- a/src/main/java/eu/siacs/conversations/utils/UIHelper.java +++ b/src/main/java/eu/siacs/conversations/utils/UIHelper.java @@ -226,7 +226,6 @@ public class UIHelper { for (EmoticonPattern p : patterns) { body = p.replaceAll(body); } - body = body.trim(); } return body; } @@ -302,7 +301,7 @@ public class UIHelper { return new Pair<>(context.getString(R.string.location), true); } } else{ - return new Pair<>(message.getBody().trim(), false); + return new Pair<>(message.getBody(), false); } } } |