diff options
| author | 2023-06-02 18:12:07 +0200 | |
|---|---|---|
| committer | 2023-06-02 18:12:07 +0200 | |
| commit | 21bb4f33257ca526ac379e8e85c6d8a93282ab48 (patch) | |
| tree | 08b7a920ccadc2e463c0c29b6e886fbeada0ccf6 | |
| parent | More notify tweaks (I'm getting sick of this). (diff) | |
| download | penes-snac2-21bb4f33257ca526ac379e8e85c6d8a93282ab48.tar.gz penes-snac2-21bb4f33257ca526ac379e8e85c6d8a93282ab48.tar.xz penes-snac2-21bb4f33257ca526ac379e8e85c6d8a93282ab48.zip | |
Added icon for bots
| -rw-r--r-- | html.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -117,6 +117,9 @@ xs_str *html_actor_icon(xs_str *os, char *actor, | |||
| 117 | if (priv) | 117 | if (priv) |
| 118 | s = xs_str_cat(s, " <span title=\"private\">🔒</span>"); | 118 | s = xs_str_cat(s, " <span title=\"private\">🔒</span>"); |
| 119 | 119 | ||
| 120 | if (strcmp(xs_dict_get(actor, "type"), "Service") == 0) | ||
| 121 | s = xs_str_cat(s, " <span title=\"bot\">🤖</span>"); | ||
| 122 | |||
| 120 | if (xs_is_null(date)) { | 123 | if (xs_is_null(date)) { |
| 121 | s = xs_str_cat(s, "<br>\n \n"); | 124 | s = xs_str_cat(s, "<br>\n \n"); |
| 122 | } | 125 | } |