Skip to content

better XMPP integration #28

@oxpa

Description

@oxpa

Current implementation uses single account to send all messages.
I propose changing this behaviour by using multiple connections into a single conference in XMPP with resources matching telegram user names. (e.g. js@c.j.r/username)

So if you have a chat of user1, user2, user3 you should join javascript@conferences.domain.tld three times with nicknames (and from resources) of /user1, /user2, /user3 and send messages from appropriate resource.

On a nick collision add some prefix or suffix.

Later this may be reworked to create a service when the bot can link two chatroom of different networks by a user command.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions