Unverified Commit 5242aea6 authored by Kevin Cox's avatar Kevin Cox
Browse files

nixos.mautrix-facebook: Fix appservice name

It appears that newer mautrix-facebook versions default to the appservice name `facebook`. This was breaking our registration and causing mautrix-facebook to fail to start. This changes the name back and makes the registration generated match whatever the setting in the app is.
parent f91ee306
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ in {
          };

          appservice = rec {
            id = "facebook";
            address = "http://${hostname}:${toString port}";
            hostname = "localhost";
            port = 29319;
@@ -171,7 +172,7 @@ in {

    services.mautrix-facebook = {
      registrationData = {
        id = "mautrix-facebook";
        id = cfg.settings.appservice.id;

        namespaces = {
          users = [