From 60ff80dddff9935e5d46bd37bd79d02a4cc7aafd Mon Sep 17 00:00:00 2001 From: BlowaterNostr <127284497+BlowaterNostr@users.noreply.github.com> Date: Wed, 8 May 2024 01:05:39 +0800 Subject: [PATCH] add missing await (#463) --- app/UI/app_update.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/UI/app_update.tsx b/app/UI/app_update.tsx index b4b50d5..c8ad527 100644 --- a/app/UI/app_update.tsx +++ b/app/UI/app_update.tsx @@ -606,7 +606,7 @@ export async function handle_SendMessage( return events_send; } for (const event of events_send) { - const result = args.current_relay.sendEvent(event); + const result = await args.current_relay.sendEvent(event); if (result instanceof Error) { return result; }