Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7529521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:40:55+00:00 2026-05-30T04:40:55+00:00

I am using XMPP with strope.js and openfire. I have a query that how

  • 0

I am using XMPP with strope.js and openfire. I have a query that how to get all the members already present in the room???

More Priece:
When i refresh the page and send my presence stanza to the room. I get my presence from the room and i show room joined. But how to get the presence stanza of whole those who are already in the room.

EDIT:

Let me explain you by case, Suppose A and B wants to group chat. First A enters the Room and he sees himself in the room. Then B enters the room, so A gets presence stanza of B and now on A side there are A and B in the room. But on B side it shows only B in the room.

Now A refreshes the page and B gets the presence stanza and now on B side both are in the room, but on A side now only A is in the room.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T04:40:57+00:00Added an answer on May 30, 2026 at 4:40 am

    The presence is sent by Openfire to all occupants in the room, just add an event handler in strophe to the presence stanza. Also when a new member joins the room, her presence is broadcasted to all members already in the room by the room itself.

    Also another way to get all users in the room is to query for roster of the room

    Hope this helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using TortoiseSVN against VisualSVN I delete a source file that I should not have
Am using Strophe.js library for communication between my application with XMPP(Openfire) server. I want
Im developing an iPhone app that has an groupchat. Im using the XMPP framework.
I'm using Openfire as an XMPP server, and it seems to be working great;
I have two ejabberd servers, one local one distant online on foobar.com. Using xmpp
I'm using the asmack XMPP with Android, but I have a problem. I would
We have implemented a simple chat room feature in Rails using Simple Ajax updates.
I'm using openfire as XMPP server. Clients connect to it via BOSH. I'm writing
I am working on an application that is receiving XMPP notifications using the Matrix
i am using the gae xmpp service to send a chat message. all simply

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.