Skip to content

how do I connect two xmpp accounts? #415

Description

@mstyp

hello. I am really struggling with the documentation, and what I need to do to connect two xmpp accounts (one running localy via yunohost, one running on dismail.de). It would be really helpful if there was a sample config file out there that lets you bridge / connect / two xmpp accounts.

I think I installed spectrum2 successfully, and I think I cant start the service (server? idk) after I specified the config file with spectrum2 -c /etc/spectrum2/transports/spectrum.cfg and by then running spectrum2_manager start (this took me several hours to figure out, you guys really need to update your documentation)

But I just copied the built in config file, and I cant figure out how to make the config file bridge the two xmpp services. I was hoping I would be able to pair them like how I pair two callendars with vdirsyncer.

[pair bob_calendar]
a = "bob_calendar1"
b = "bob_calendar2"

# Calendars also have a color property
metadata = ["displayname", "color"]

[storage bob_calendar1]
type = "caldav"
url = "https://owncloud.example.com/remote.php/caldav/"
password = "password"

[storage bob_calendar2]
type = "caldav"
url = "https://nextcloud.example.com/remote.php/caldav/"
password = "password"

The closest I can find is https://spectrum.im/documentation/tutorials/beginners_guide.html but that is not my use case, and I cant figure how to make it match my use case. I can see how to adapt it to connect to my yunohost xmpp server, but then what do I add to the file to get it to connect the second one?

Looking at the documentation for the config files are even more befuddling. none of the lines listed in https://spectrum.im/documentation/configuration/config_file.html are in the sample config files, for example.

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