Compare commits

..

No commits in common. "8cc4c19d737361b767166ad326cb9160beefe45d" and "fabdfb76b91e37826b239204a459b93293ab2643" have entirely different histories.

5 changed files with 13 additions and 17 deletions

View File

@ -73,17 +73,16 @@ class TfMessageElement extends LitElement {
} }
} }
if (this.message?.votes?.length) { if (this.message?.votes?.length) {
return html` <div class="w3-container"> return html`
<div <div class="w3-container">
class="w3-button w3-bar w3-padding-small" <div class="w3-button w3-bar w3-padding-small" @click=${this.show_reactions}>
@click=${this.show_reactions}
>
${(this.message.votes || []).map( ${(this.message.votes || []).map(
(vote) => html` (vote) => html`
<span <span
class="w3-bar-item w3-padding-small" class="w3-bar-item w3-padding-small"
title="${this.users[vote.author]?.name ?? title="${this.users[vote.author]?.name ?? vote.author} ${new Date(
vote.author} ${new Date(vote.timestamp)}" vote.timestamp
)}"
> >
${normalize_expression(vote.content.vote.expression)} ${normalize_expression(vote.content.vote.expression)}
</span> </span>

View File

@ -69,10 +69,7 @@
><i class="fa fa-mug-hot"></i> Code</a ><i class="fa fa-mug-hot"></i> Code</a
> >
<p> <p>
<a <a href="https://f-droid.org/en/packages/com.unprompted.tildefriends.fdroid/"><img src="f-droid.svg" style="height: 3em"></a>
href="https://f-droid.org/en/packages/com.unprompted.tildefriends.fdroid/"
><img src="f-droid.svg" style="height: 3em"
/></a>
</p> </p>
</div> </div>
<div class="w3-col l4 m6"> <div class="w3-col l4 m6">

View File

@ -69,7 +69,7 @@ static void _tf_ssb_export_scandir(uv_fs_t* req)
int r = uv_fs_unlink(tf_ssb_get_loop(export->ssb), &req, path, NULL); int r = uv_fs_unlink(tf_ssb_get_loop(export->ssb), &req, path, NULL);
if (r) if (r)
{ {
tf_printf("Failed to unlink %s: %s.\n", path, uv_strerror(r)); tf_printf("Failed to unlink %s: %s.", path, uv_strerror(r));
} }
uv_fs_req_cleanup(&req); uv_fs_req_cleanup(&req);
tf_free(path); tf_free(path);
@ -199,7 +199,7 @@ void tf_ssb_export(tf_ssb_t* ssb, const char* key)
int r = uv_fs_scandir(tf_ssb_get_loop(ssb), &export.req, file_path, 0, _tf_ssb_export_scandir); int r = uv_fs_scandir(tf_ssb_get_loop(ssb), &export.req, file_path, 0, _tf_ssb_export_scandir);
if (r) if (r)
{ {
tf_printf("Failed to scan directory %s: %s.\n", file_path, uv_strerror(r)); tf_printf("Failed to scan directory %s: %s.", file_path, uv_strerror(r));
} }
while (!export.done) while (!export.done)
{ {

View File

@ -155,7 +155,7 @@ static void _tf_ssb_import_recursive_add_files(tf_ssb_t* ssb, uv_loop_t* loop, J
} }
else else
{ {
tf_printf("Failed to scan directory %s: %s.\n", path, uv_strerror(r)); tf_printf("Failed to scan directory %s: %s.", path, uv_strerror(r));
} }
uv_fs_req_cleanup(&req); uv_fs_req_cleanup(&req);
} }
@ -260,7 +260,7 @@ void tf_ssb_import(tf_ssb_t* ssb, const char* user, const char* path)
} }
else else
{ {
tf_printf("Failed to scan directory %s: %s.\n", path, uv_strerror(r)); tf_printf("Failed to scan directory %s: %s.", path, uv_strerror(r));
} }
uv_fs_req_cleanup(&req); uv_fs_req_cleanup(&req);
} }

View File

@ -1,2 +1,2 @@
#define VERSION_NUMBER "0.0.24-wip" #define VERSION_NUMBER "0.0.23"
#define VERSION_NAME "Honey bunches of boats." #define VERSION_NAME "Me upon my pony on my boat."