aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/entities/Message.java
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2015-11-04 20:56:45 -0600
committerSam Whited <sam@samwhited.com>2015-12-02 08:50:52 -0600
commita3eb540f059f9123799c54d69201eba8a096e116 (patch)
tree4d48cf123708edb1ae840cb181ca6f0969f21356 /src/main/java/eu/siacs/conversations/entities/Message.java
parente1aeb376ac80af214947143572cc381660fe3023 (diff)
Show status message when contact requests presence
Remove presence when conversation closed
Diffstat (limited to 'src/main/java/eu/siacs/conversations/entities/Message.java')
-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 1eafa45f..b59b0b38 100644
--- a/src/main/java/eu/siacs/conversations/entities/Message.java
+++ b/src/main/java/eu/siacs/conversations/entities/Message.java
@@ -171,7 +171,7 @@ public class Message extends AbstractEntity {
}
public static Message createStatusMessage(Conversation conversation, String body) {
- Message message = new Message();
+ final Message message = new Message();
message.setType(Message.TYPE_STATUS);
message.setConversation(conversation);
message.setBody(body);