[#114] Added `invitesEnabled` to `metadata` of nodeinfo.
This commit is contained in:
parent
66380b0641
commit
69fd63e248
|
@ -132,6 +132,7 @@ def nodeinfo(conn, %{"version" => "2.0"}) do
|
||||||
banner: Keyword.get(instance, :banner_upload_limit),
|
banner: Keyword.get(instance, :banner_upload_limit),
|
||||||
background: Keyword.get(instance, :background_upload_limit)
|
background: Keyword.get(instance, :background_upload_limit)
|
||||||
},
|
},
|
||||||
|
invitesEnabled: Keyword.get(instance, :invites_enabled, false),
|
||||||
features: features
|
features: features
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue