forked from cory/tildefriends
Return something from ssb.storeMessage.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4288 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -642,8 +642,7 @@ static JSValue _tf_ssb_sqlAsync(JSContext* context, JSValueConst this_val, int a
|
||||
static JSValue _tf_ssb_storeMessage(JSContext* context, JSValueConst this_val, int argc, JSValueConst* argv)
|
||||
{
|
||||
tf_ssb_t* ssb = JS_GetOpaque(this_val, _tf_ssb_classId);
|
||||
tf_ssb_verify_strip_and_store_message(ssb, argv[0]);
|
||||
return JS_UNDEFINED;
|
||||
return tf_ssb_verify_strip_and_store_message(ssb, argv[0]) ? JS_TRUE : JS_FALSE;
|
||||
}
|
||||
|
||||
typedef struct _broadcasts_t
|
||||
|
Reference in New Issue
Block a user