aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2015-01-19 12:15:27 +0100
committeriNPUTmice <daniel@gultsch.de>2015-01-19 12:15:27 +0100
commit1e607d7b1b0accf03d0e170fe67d418dac7c2114 (patch)
treefbc6ae9dc5b21e91d6b98a757c75945409bb04f8
parentc5d087ad550a37dd3288c0f8b4cba6dfe323a4fa (diff)
don't trim bodies
-rw-r--r--src/main/java/eu/siacs/conversations/entities/Message.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/Message.java b/src/main/java/eu/siacs/conversations/entities/Message.java
index e8e579ab..c25b300b 100644
--- a/src/main/java/eu/siacs/conversations/entities/Message.java
+++ b/src/main/java/eu/siacs/conversations/entities/Message.java
@@ -371,7 +371,7 @@ public class Message extends AbstractEntity {
if (this.mergeable(next)) {
return getBody() + '\n' + next.getMergedBody();
}
- return body.trim();
+ return getBody();
}
public boolean hasMeCommand() {