diff --git a/source/org/jivesoftware/smack/Chat.java b/source/org/jivesoftware/smack/Chat.java index 6aab00689..bc07c686e 100644 --- a/source/org/jivesoftware/smack/Chat.java +++ b/source/org/jivesoftware/smack/Chat.java @@ -171,7 +171,7 @@ public class Chat { * @see #sendMessage(Message) */ public Message createMessage() { - Message message = new Message(participant, Message.CHAT); + Message message = new Message(participant, Message.Type.CHAT); message.setThread(chatID); return message; }