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

Errorhandling on joining a members only muc #962

Closed
mightymop opened this issue Dec 18, 2020 · 0 comments
Closed

Errorhandling on joining a members only muc #962

mightymop opened this issue Dec 18, 2020 · 0 comments
Labels

Comments

@mightymop
Copy link
Collaborator

Expected behavior

If a occupant tries to join a member only muc and is not on the member list, the chatbox should not be opened.
The ui should alert the user that he can not join because he is not a member.

Actual behavior

The muc is added to the roster and saved in storage even he is not a member. Furthermore the chatboxwindow is opened
and the user is able to write text, but of course the messages never arrive in the muc, but the ui shows that messages are sent.

Steps to reproduce the behavior

  1. login to server
  2. try joining a member only muc room
  3. ...

Environment

  • JSXC version: 4.2
  • Host system and version: self hostet
  • Browser vendor and version: chrome, firefox,...
  • Any browser plugins enabled? no
  • XMPP server vendor and version: openfire 4.6
  • Is your XMPP server working with other clients as expected? yes, converse shows the error and denies muc join

Logs

Javascript

JSXC

[Debug] onPresence 
<presence to="mops@mopsdom.de/jsxc-cb681e88" from="test@conference.mopsdom.de/mops" type="error" xmlns="jabber:client">
Log.ts:102
[Error] [XMPP] auth, 407, registration-required, This is a member-only room. Membership is required.

XMPP

Host

@sualko sualko added the bug label Dec 27, 2020
@sualko sualko closed this as completed in e14bd80 Dec 27, 2020
mightymop pushed a commit to mightymop/jsxc that referenced this issue Dec 30, 2020
mightymop pushed a commit to mightymop/jsxc that referenced this issue Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants