From 1e607d7b1b0accf03d0e170fe67d418dac7c2114 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Mon, 19 Jan 2015 12:15:27 +0100 Subject: don't trim bodies --- src/main/java/eu/siacs/conversations/entities/Message.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') 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() { -- cgit v1.2.3