mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
MUC: set from when join muc.
This commit is contained in:
parent
424de3ea3a
commit
febbefefa5
@ -1273,6 +1273,7 @@ public class XmppConnectionService extends Service {
|
|||||||
String nick = conversation.getMucOptions().getProposedNick();
|
String nick = conversation.getMucOptions().getProposedNick();
|
||||||
Jid joinJid = conversation.getMucOptions().createJoinJid(nick);
|
Jid joinJid = conversation.getMucOptions().createJoinJid(nick);
|
||||||
PresencePacket packet = new PresencePacket();
|
PresencePacket packet = new PresencePacket();
|
||||||
|
packet.setFrom(conversation.getAccount().getJid());
|
||||||
packet.setTo(joinJid);
|
packet.setTo(joinJid);
|
||||||
Element x = new Element("x");
|
Element x = new Element("x");
|
||||||
x.setAttribute("xmlns", "http://jabber.org/protocol/muc");
|
x.setAttribute("xmlns", "http://jabber.org/protocol/muc");
|
||||||
|
Loading…
Reference in New Issue
Block a user