Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat marker for MUC CHAT #86

Open
shraddha-patel-1891 opened this issue Apr 11, 2019 · 3 comments
Open

Chat marker for MUC CHAT #86

shraddha-patel-1891 opened this issue Apr 11, 2019 · 3 comments

Comments

@shraddha-patel-1891
Copy link

shraddha-patel-1891 commented Apr 11, 2019

Hello,
we are making chat application using xmpp framework . In single chat successfully implement chat message marker like read , sent ,displayed but in this thing not possible in MUC(group) chat in ios using xmpp framwork.

so any one have implement MUC chat marker then please help me.give us some basic idea how to implement MUC chat marker?

Thanks.

@Jaydeepinx
Copy link

Hello Shraddha,

I have implemented chat marker for Group Chat. Basically for Group chat you need to use one to one chat marker i.e.,
(consider 4 Members in group)
if user-1 is sending message in group-1.
When user-2 receives/read message user-2 will send chat marker to user-1 in one to one chat.
same scenario for user-2 and user-3.

Hope it'll help you.
Thanks.

@shraddha-patel-1891
Copy link
Author

Hello, jaydeepinx,
Thanks for reply.i will be tried your solution and update you.

we have more question related to leave group :-
got following kind of response in leave group if you have any solution then please help me.

<iq xmlns="jabber:client" lang="en" to="278460234280@server/103489846018672359706530" from="[email protected]" type="error" id="Boundary-391588AA-7F97-479D-AAE4- 0DF8CDE47936"><query xmlns="http://jabber.org/protocol/muc#admin"><item affiliation=“none” jid="278460234280@server"></item></query><error code="405" type="cancel"><not-allowed xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></not-allowed><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" lang="en">Changing role/affiliation is not allowed</text></error></iq>

Thanks

@HardikKardani
Copy link

Regarding leave room error which stanza you pass?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants