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