1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 06:12:05 +01:00

Use new message type constant.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1927 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2003-05-08 15:57:22 +00:00 committed by mtucker
parent 3ac4b1c121
commit 0360db930f

View file

@ -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;
}