Commit bae36e12 authored by Grigory Fedorov's avatar Grigory Fedorov

MessageManager: possible bug with message receiving fixed: chat created with bare address.

parent d6f167a9
......@@ -172,7 +172,7 @@ public class MessageManager implements OnLoadListener, OnPacketListener, OnDisco
* @return
*/
private RegularChat createChat(String account, String user) {
RegularChat chat = new RegularChat(account, user);
RegularChat chat = new RegularChat(account, Jid.getBareAddress(user));
addChat(chat);
return chat;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment