mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-29 23:42: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:
parent
3ac4b1c121
commit
0360db930f
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ public class Chat {
|
||||||
* @see #sendMessage(Message)
|
* @see #sendMessage(Message)
|
||||||
*/
|
*/
|
||||||
public Message createMessage() {
|
public Message createMessage() {
|
||||||
Message message = new Message(participant, Message.CHAT);
|
Message message = new Message(participant, Message.Type.CHAT);
|
||||||
message.setThread(chatID);
|
message.setThread(chatID);
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue