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

MUC-service-given nickname not respected by beagle #138

Open
truenicoco opened this issue Jun 6, 2023 · 2 comments
Open

MUC-service-given nickname not respected by beagle #138

truenicoco opened this issue Jun 6, 2023 · 2 comments
Assignees

Comments

@truenicoco
Copy link

truenicoco commented Jun 6, 2023

From XEP-0045:

The service MAY rewrite the new occupant's roomnick (e.g., if roomnicks are locked down or based on some other policy).
The service MUST allow the client to enter the room, modify the nick in accordance with the lockdown policy, and include a status code of "210" in the presence broadcast that it sends to the new occupant.

Example 22:

<presence
    from='coven@chat.shakespeare.lit/thirdwitch'
    id='n13mt3l'
    to='hag66@shakespeare.lit/pda'>
  <x xmlns='http://jabber.org/protocol/muc#user'>
    <item affiliation='member' role='participant'/>
    <status code='110'/>
    <status code='210'/>
  </x>
</presence>

Beagle does not respect this new nickname given by the service on join, resulting in self messages appearing as duplicates in the chat view: first, a message with the nickname beagles thinks is my nickname, then, the actual "echo" of my message with the proper nickname that the MUC service has given me.

@hantu85 hantu85 self-assigned this Jun 8, 2023
@hantu85
Copy link
Contributor

hantu85 commented Jun 8, 2023

Thank you for reporting this issue. XEP-0045 is rather a big one. We will try to address this issue in the next big version of the Beagle IM.

@truenicoco
Copy link
Author

For context, this would be awesome for most gateways, since being able to pick a different nickname in a each room is something relatively XMPP-specific.

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

2 participants