mirror of
https://github.com/nostrlabs-io/zap-stream-flutter.git
synced 2025-06-15 19:48:23 +00:00
fix: send chat to stream relays
This commit is contained in:
@ -195,7 +195,10 @@ class __WriteMessageWidget extends State<WriteMessageWidget> {
|
||||
);
|
||||
_controller.clear();
|
||||
_focusNode.unfocus();
|
||||
final res = ndk.broadcast.broadcast(nostrEvent: chatMsg);
|
||||
final res = ndk.broadcast.broadcast(
|
||||
nostrEvent: chatMsg,
|
||||
specificRelays: widget.stream.info.relays,
|
||||
);
|
||||
await res.broadcastDoneFuture;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user