Explorar el Código

Show a thumb up next to account names that follow you.

grunfink hace 2 meses
padre
commit
61971f2792
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  1. 8 0
      html.c

+ 8 - 0
html.c

@@ -345,6 +345,14 @@ xs_html *html_actor_icon(snac *user, xs_dict *actor, const char *date,
                 xs_html_attr("title", "mutual relation"),
                 xs_html_raw("🤝")));
     }
+    else
+    if (fwer) {
+        xs_html_add(actor_icon,
+            xs_html_text(" "),
+            xs_html_tag("span",
+                xs_html_attr("title", "follows you"),
+                xs_html_raw("👍")));
+    }
 
     if (instance_failure(actor_id, 0) == -1) {
         xs_html_add(actor_icon,