xmppframework - How to run XMPP Room Join & Invite process in background Thread in iOS -


i have got issue room join & inviting members xmpp room in ios. have clause needs join 200 rooms @ login, did blocks main thread. can suggest approach handle hundreds of room joining seemless without blocking main thread.

thanks,

why did join 200 rooms @ time in first place?

my guess need join able group chats? inefficient way. think need implement offline message push notification.

look ejabberd_mod_offline_post

  1. first config room must member-only room, , add users members right after created it, able total.
  2. add above model ejabberd models.
  3. implement callback service handle callback post.

the idea when user go offline:

  • in one-to-one case, offline_message_hook raised
  • in muc case, muc_filter_message raised, , 1 not presence-available offline.

Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -