mautrix / meta

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

PLAT-25704: Add megabridge login flows #77

Closed JJTech0130 closed 4 months ago

JJTech0130 commented 4 months ago

Completes the login flows for both Facebook and Instagram. Also fixes some bugs left behind from the last PR. Note that it doesn't save the results of the login anywhere, will leave that for the next PR.

Note to reviewer: I still need help with the whole example-config.yml thing, it appears to override whatever is in config.yaml no matter what I do? In any case doesn't really affect anything right now.

Also closes PLAT-25705 because it implements proper selection between facebook and instagram bridge modes, and allows using both at once.

JJTech0130 commented 4 months ago

I rolled back the gorilla update (and the other spurious package updates), unsure why the go vet check is now failing? I've run go vet and go mod tidy locally and they both exit cleanly with no modifications.