diff --git a/apps/ssb/emojis.js b/apps/ssb/emojis.js index 4fb8c431..d5ff42e9 100644 --- a/apps/ssb/emojis.js +++ b/apps/ssb/emojis.js @@ -147,9 +147,7 @@ export async function picker(callback, anchor, author) { ${styles}
-
- ${div} -
+
${div}
`; let parent = document.createElement('div'); diff --git a/src/ssb.c b/src/ssb.c index a7d9e398..76fe3419 100644 --- a/src/ssb.c +++ b/src/ssb.c @@ -612,9 +612,7 @@ static void _tf_ssb_connection_box_stream_send(tf_ssb_connection_t* connection, static void _tf_ssb_connection_dispatch_scheduled(tf_ssb_connection_t* connection) { - while ((connection->active_write_count == 0 || connection->closing) && - connection->scheduled_count && - connection->scheduled) + while ((connection->active_write_count == 0 || connection->closing) && connection->scheduled_count && connection->scheduled) { tf_ssb_connection_scheduled_t scheduled = connection->scheduled[0]; memmove(connection->scheduled, connection->scheduled + 1, sizeof(tf_ssb_connection_scheduled_t) * (connection->scheduled_count - 1));