1
0
Fork 1

demo enter

This commit is contained in:
Daniel Gultsch 2023-03-04 08:22:09 +01:00 committed by Arne
parent 50e4e565a8
commit 21831e4340

View file

@ -8,13 +8,19 @@ import im.conversations.android.xmpp.manager.AxolotlManager;
import im.conversations.android.xmpp.manager.BlockingManager;
import im.conversations.android.xmpp.manager.BookmarkManager;
import im.conversations.android.xmpp.manager.DiscoManager;
import im.conversations.android.xmpp.manager.MultiUserChatManager;
import im.conversations.android.xmpp.manager.PresenceManager;
import im.conversations.android.xmpp.manager.RosterManager;
import java.util.function.Consumer;
import org.jxmpp.jid.Jid;
import org.jxmpp.jid.impl.JidCreate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class BindProcessor extends XmppConnection.Delegate implements Consumer<Jid> {
private static final Logger LOGGER = LoggerFactory.getLogger(BindProcessor.class);
public BindProcessor(final Context context, final XmppConnection connection) {
super(context, connection);
}
@ -44,5 +50,8 @@ public class BindProcessor extends XmppConnection.Delegate implements Consumer<J
getManager(AxolotlManager.class).publishIfNecessary();
getManager(PresenceManager.class).sendPresence();
getManager(MultiUserChatManager.class)
.enter(JidCreate.bareFromOrThrowUnchecked("xsf@muc.xmpp.org"));
}
}