Add support for integrated Nostr relay service #198

Merged
raucao merged 8 commits from feature/own_relay into feature/strfry_zap_receipts 2024-06-22 17:51:42 +00:00
Showing only changes of commit 7ac3130c18 - Show all commits

View File

@ -6,7 +6,7 @@ class WellKnownController < ApplicationController
http_status :not_found and return if @user.nil? || @user.nostr_pubkey.blank?
res = {
names: { "#{@user.cn}": @user.nostr_pubkey }
names: { @user.cn => @user.nostr_pubkey }
}
if Setting.nostr_relay_url