Allow non-members to publish zap receipts for members #197

Merged
raucao merged 12 commits from feature/strfry_zap_receipts into master 2024-06-22 17:52:03 +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