summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2023-01-27 18:17:11 +0100
committerGravatar default2023-01-27 18:17:11 +0100
commita3ed2408fcaca25ad4966741e173677aab0a8848 (patch)
treea1e7c1365fbf7da67b32f5faea60d83b190310e5 /html.c
parentNew file susie-cool.png. (diff)
downloadsnac2-a3ed2408fcaca25ad4966741e173677aab0a8848.tar.gz
snac2-a3ed2408fcaca25ad4966741e173677aab0a8848.tar.xz
snac2-a3ed2408fcaca25ad4966741e173677aab0a8848.zip
New function default_avatar_base64().
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/html.c b/html.c
index 2abb68e..dde2cf7 100644
--- a/html.c
+++ b/html.c
@@ -82,7 +82,7 @@ d_char *html_actor_icon(snac *snac, d_char *os, char *actor,
82 } 82 }
83 83
84 if (avatar == NULL) 84 if (avatar == NULL)
85 avatar = xs_fmt("data:image/png;base64, %s", susie); 85 avatar = xs_fmt("data:image/png;base64, %s", default_avatar_base64());
86 86
87 { 87 {
88 xs *s1 = xs_fmt("<p><img class=\"snac-avatar\" src=\"%s\" alt=\"\" " 88 xs *s1 = xs_fmt("<p><img class=\"snac-avatar\" src=\"%s\" alt=\"\" "
@@ -558,7 +558,6 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, int local, int level, cons
558 char *actor; 558 char *actor;
559 int sensitive = 0; 559 int sensitive = 0;
560 char *v; 560 char *v;
561 xs *likes = NULL;
562 xs *boosts = NULL; 561 xs *boosts = NULL;
563 562
564 /* do not show non-public messages in the public timeline */ 563 /* do not show non-public messages in the public timeline */