mautrix / meta

A Matrix-Facebook Messenger and Instagram DM puppeting bridge.
GNU Affero General Public License v3.0
146 stars 11 forks source link

Multi-account support #3

Closed kubo6472 closed 2 weeks ago

kubo6472 commented 7 months ago

I know this was already dismissed as not planned/low priority, but I'd still love for this to be runable as a single bridge either creating two admin rooms, or One room with commands like login-fb and login-ig.

There was also some talk that encryption might be powered by whatsmeow and WhatsApp might be a part of this bridge's code. I doubt that's in any short term plans, though.

maltee1 commented 7 months ago

I suppose there are two ways to think about this:

  1. A single user can log in with both IG and FB on the same bridge
  2. A single user can log in with either IG or FB on the same bridge. If federation between IG and FB happens, this could give us shared group chat portals.
kubo6472 commented 7 months ago

If you can do two different schemas of users, if that's desired? I don't know the spec that well enough (at all)

youphyun commented 5 months ago

I am currently running two instances of the meta bridge, each in a different mode (facebook and messsenger), because I have users on our synapse servers with a facebook and messenger only account. I have setup the bridges with their own db, separate user account for systemd service, separate ports etc.

I am not sure if the username_template should be different or whether it can be the same. I decided to use the bridge mode as the username_template prefix but it does create duplicated users:

image