Add config for XMPP notifications from-address

This commit is contained in:
Râu Cao
2023-06-21 16:44:06 +02:00
parent 6acc3f2f59
commit affb058671
2 changed files with 12 additions and 0 deletions

View File

@@ -45,5 +45,16 @@
value: Setting.ejabberd_buddy_roster,
class: "w-full" %>
<% end %>
</ul>
<h3 class="mt-10">Notifications</h3>
<ul role="list">
<%= render FormElements::FieldsetComponent.new(
title: "From address",
description: "Address (JID) of the account notifications are sent from",
) do %>
<%= f.text_field :xmpp_notifications_from_address,
value: Setting.xmpp_notifications_from_address,
class: "w-full" %>
<% end %>
<% end %>
</ul>