1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 05:52:06 +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;
}