forked from cory/tildefriends
Yikes. I broke appending?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4351 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -118,9 +118,9 @@ static JSValue _tf_ssb_appendMessageWithIdentity(JSContext* context, JSValueCons
|
||||
uint8_t private_key[crypto_sign_SECRETKEYBYTES];
|
||||
if (tf_ssb_db_identity_get_private_key(ssb, user, id, private_key, sizeof(private_key)))
|
||||
{
|
||||
char id[k_id_base64_len] = { 0 };
|
||||
tf_ssb_append_message_with_keys(ssb, id, private_key, argv[2], id, sizeof(id));
|
||||
result = JS_NewString(context, id);
|
||||
char message_id[k_id_base64_len] = { 0 };
|
||||
tf_ssb_append_message_with_keys(ssb, id, private_key, argv[2], message_id, sizeof(message_id));
|
||||
result = JS_NewString(context, message_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user