Skip to content

Not able to join session@conference.some_server/xiff #1

@linzhp

Description

@linzhp

After successful login, HemlockContainer tries to join the chat room session@conference.some_server as session@conference.some_server/xiff:

client.joinChatRoom(createRoomJID(event.options.jid.resource));

However, I think it should join as session@conference.some_server/user_nick_name:

client.joinChatRoom(createRoomJID(event.options.from));

Otherwise, the other user will not be able to join the chat room as session@conference.some_server/xiff has been taken previously.

I have committed my fix to my fork at git@github.com:linzhp/hemlock.git, you may merge it to the trunk if you find it useful.

BTW, I am not quite sure about why XMPPClient::sendDiscoveryRequest() send an empty message to the chat room.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions