Same bug twice.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4360 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-07-22 01:33:06 +00:00
parent 07c121044a
commit 315d650d27

View File

@ -138,7 +138,7 @@ static void _tf_ssb_appendMessageWithIdentity_callback(const char* id, bool veri
static JSValue _tf_ssb_appendMessageWithIdentity(JSContext* context, JSValueConst this_val, int argc, JSValueConst* argv)
{
append_message_t* async = tf_malloc(sizeof(append_message_t));
*async = (append_message_t) { 0 };
*async = (append_message_t) { .context = context };
JSValue result = JS_NewPromiseCapability(context, async->promise);
tf_ssb_t* ssb = JS_GetOpaque(this_val, _tf_ssb_classId);