Add setting for contact roster name
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

And only exchange contacts when ejabberd integration is enabled
This commit is contained in:
Râu Cao
2023-03-15 15:48:27 +07:00
committed by Gitea
parent 8da297811b
commit 8d90847896
4 changed files with 13 additions and 5 deletions

View File

@@ -18,5 +18,13 @@
value: Setting.ejabberd_admin_url,
class: "w-full", disabled: true %>
<% end %>
<%= render FormElements::FieldsetComponent.new(
title: "Contact roster name",
description: "Used when exchanging contacts after signup from invitation"
) do %>
<%= f.text_field :ejabberd_buddy_roster,
value: Setting.ejabberd_buddy_roster,
class: "w-full" %>
<% end %>
<% end %>
</ul>