send pgp signature when creating ad hoc conferences
This commit is contained in:
parent
2cfa3ce288
commit
e6eb58f2d7
|
@ -2227,7 +2227,7 @@ public class XmppConnectionService extends Service {
|
||||||
final MucOptions mucOptions = conversation.getMucOptions();
|
final MucOptions mucOptions = conversation.getMucOptions();
|
||||||
final Jid joinJid = mucOptions.getSelf().getFullJid();
|
final Jid joinJid = mucOptions.getSelf().getFullJid();
|
||||||
Log.d(Config.LOGTAG, account.getJid().toBareJid().toString() + ": joining conversation " + joinJid.toString());
|
Log.d(Config.LOGTAG, account.getJid().toBareJid().toString() + ": joining conversation " + joinJid.toString());
|
||||||
PresencePacket packet = mPresenceGenerator.selfPresence(account, Presence.Status.ONLINE, mucOptions.nonanonymous());
|
PresencePacket packet = mPresenceGenerator.selfPresence(account, Presence.Status.ONLINE, mucOptions.nonanonymous() || onConferenceJoined != null);
|
||||||
packet.setTo(joinJid);
|
packet.setTo(joinJid);
|
||||||
Element x = packet.addChild("x", "http://jabber.org/protocol/muc");
|
Element x = packet.addChild("x", "http://jabber.org/protocol/muc");
|
||||||
if (conversation.getMucOptions().getPassword() != null) {
|
if (conversation.getMucOptions().getPassword() != null) {
|
||||||
|
|
Loading…
Reference in New Issue