From 630fc08459428dde836581bee9cd8839880bea40 Mon Sep 17 00:00:00 2001
From: HolgerHatGarKeineNode
<123783602+HolgerHatGarKeineNode@users.noreply.github.com>
Date: Mon, 6 Jul 2026 19:19:08 +0200
Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Add=20Nostr=20Community=20Group=20(?=
=?UTF-8?q?NIP-29)=20as=20a=20new=20benefit=20for=20members=20-=20?=
=?UTF-8?q?=E2=9C=A8=20Introduced=20support=20for=20a=20Nostr=20Community?=
=?UTF-8?q?=20Group=20with=20relay-based=20chat=20and=20events=20(NIP-29?=
=?UTF-8?q?=20standard).=20-=20=F0=9F=8C=90=20Added=20integration=20with?=
=?UTF-8?q?=20`group.einundzwanzig.space`,=20accessible=20via=20Flotilla?=
=?UTF-8?q?=20or=20Nostr=20clients.=20-=20=F0=9F=93=8B=20Implemented=20"Co?=
=?UTF-8?q?py=20Community=20Relay=20URL"=20functionality.=20-=20=E2=9C=85?=
=?UTF-8?q?=20Updated=20tests=20to=20validate=20access=20for=20active,=20p?=
=?UTF-8?q?aid=20members.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../livewire/association/benefits.blade.php | 222 +++++++++++++-----
.../livewire/association/profile.blade.php | 13 +
.../Livewire/Association/BenefitsTest.php | 19 ++
3 files changed, 196 insertions(+), 58 deletions(-)
diff --git a/resources/views/livewire/association/benefits.blade.php b/resources/views/livewire/association/benefits.blade.php
index 4e4d074..80cb73c 100644
--- a/resources/views/livewire/association/benefits.blade.php
+++ b/resources/views/livewire/association/benefits.blade.php
@@ -116,6 +116,13 @@ new class extends Component
Flux::toast('Blossom-Adresse in die Zwischenablage kopiert!');
}
+ public function copyGroupRelayUrl(): void
+ {
+ $groupRelayUrl = 'wss://group.einundzwanzig.space';
+ $this->js("navigator.clipboard.writeText('{$groupRelayUrl}')");
+ Flux::toast('Community-Relay-Adresse in die Zwischenablage kopiert!');
+ }
+
public function handleNostrLoggedIn($signedEvent = null): void
{
NostrAuth::loginWithSignedEvent($signedEvent);
@@ -154,13 +161,14 @@ new class extends Component
@if($isActiveMember)
@@ -231,7 +239,7 @@ new class extends Component
Deine aktivierten Handles: Deine aktivierten Handles:
@@ -378,7 +401,7 @@ new class extends Component
@@ -455,5 +478,88 @@ new class extends Component
@endif
+
+
+ Chatte und poste in der Einundzwanzig-Gruppe auf unserem Community-Relay
+ (
+ Unser group.einundzwanzig.space ist ein Community-Relay nach dem
+ So trittst du bei:
+ Automatischer Zugang: Sobald dein Mitgliedsbeitrag bezahlt ist, wirst du
+ automatisch als Member des Relays eingetragen und erhältst Schreib-Rechte in der Gruppe.
+ 5 GB Speicher · max. 1 GB pro Datei Schreibe in der Einundzwanzig-Gruppe auf unserem Community-Relay (NIP-29).
+ @if($nip05DisplayHandle){{ $nip05DisplayHandle }}@einundzwanzig.space
+ @else Noch kein Handle – unten einrichten
+ @endif
+
@if($nip05Verified)
-
- @foreach($nip05VerifiedHandles as $handle)
-
-
+ @foreach($nip05VerifiedHandles as $handle)
+
+ Nostr Community-Gruppe
+
+ wss://group.einundzwanzig.space
+
+
+
+ Nostr Community-Gruppe
+