XMPPFramework icon indicating copy to clipboard operation
XMPPFramework copied to clipboard

Getting members of a MultiUser Chat Room

Open subhashsa opened this issue 13 years ago • 9 comments

Hi,

We are using XMPPFramework for a chat app.It has served us very well. We are unable to retrieve members of MUC Rooms by executing the following.

[xmpproom fetchMembersList];

(void)xmppRoom:(XMPPRoom *)sender didFetchMembersList:(NSArray *)items

It returns an empty array

What are we doing wrong?

Many Thanks.. Subhash

subhashsa avatar Sep 25 '13 12:09 subhashsa

you need to be owner or a admin to fetch member list or any other i.e. ban.

tarikhs avatar Sep 26 '13 10:09 tarikhs

Thank you for the response. The chat room owner also is unable to fetch details of members. Please note, on the android platform we use a library called smack and have no difficulty retrieving member list of a room by any user that is participating in a room. Both platform connect to the same openfire server.

subhashsa avatar Sep 27 '13 09:09 subhashsa

greate!!!!!!!!!!!!!!

xujialiang avatar Apr 24 '14 00:04 xujialiang

same question, how to get the member list? Is there another way to get them?

jackywpy avatar Jul 03 '14 08:07 jackywpy

So this issue fixed or what? I am also getting empty array :(

adil-appifytech avatar Jul 01 '15 10:07 adil-appifytech

I am also getting an empty array, did someone know you solved?

xcriss avatar Oct 31 '15 10:10 xcriss

Anyone can help? I try to add a roomconfig_getmemberlist but without success

ghost avatar Jun 06 '16 14:06 ghost

Which server you are using ? Openfire or Ejabbered. Both have different support for MUC. I think you are using Ejabbered. Please use mod_muc plugin for Ejabbered.

devshubh avatar Jun 11 '16 19:06 devshubh

Did anyone fix this issue? I have the same problem on ejabberd, wherein owners are able to fetch the member list but not the other members.

vikram17000 avatar Nov 16 '16 23:11 vikram17000