xmpp - How to auto join on a group/conference on login -


i using smack xmpp client library, want implement whatsapp group functionality. once in group, in there until leave group or admin removes me.

but while implementing this, able join group, disconnected need rejoin manually in group.

as have read(correct me if wrong), if add conference in bookmark autojoin=true, automatically joined on login. doing programatically this.

bookmarkmanager bookmarkmanager = bookmarkmanager.getbookmarkmanager(connection); bookmarkmanager.addbookmarkedconference(mucname, conferencename, true, nickname, null); 

even if sending autojoin value true, still not able auto joining in group. using ejabberd server.

can help...


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -