p.enes.lv is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
{And this is a snippet of the code responsible for rendering emojis:
"actor": "https://pl.kotobank.ch/users/vaartis",
"attachment": [
],
"attributedTo": "https://pl.kotobank.ch/users/vaartis",
"cc": [
"https://pl.kotobank.ch/users/vaartis/followers"
],
"content": ":myntSleeping:",
"context": "https://pl.kotobank.ch/contexts/bdaba2e1-79b3-41f2-a8cf-6b8f5fbe1527",
"conversation": "https://pl.kotobank.ch/contexts/bdaba2e1-79b3-41f2-a8cf-6b8f5fbe1527",
"id": "https://pl.kotobank.ch/objects/3bae0bb1-dd13-4156-b3f3-a05e9909ace3",
"published": "2025-04-18T22:45:12.317305Z",
"sensitive": false,
"source": {
"content": ":myntSleeping:",
"mediaType": "text/plain"
},
"summary": "",
"tag": [
{
"icon": {
"type": "Image",
"url": "https://pl.kotobank.ch/emoji/mynt/myntSleeping.png"
},
"id": "https://pl.kotobank.ch/emoji/mynt/myntSleeping.png",
"name": ":myntSleeping:",
"type": "Emoji",
"updated": "1970-01-01T00:00:00Z"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
const char *u = xs_dict_get(i, "url");Looks like an easy fix
const char *mt = xs_dict_get(i, "mediaType");if (xs_is_string(u) && xs_is_string(mt)) {
if (strcmp(mt, "image/svg+xml") == 0 && !xs_is_true(xs_dict_get(srv_config, "enable_svg")))
s = xs_replace_i(s, n, "");
else {
xs *url = make_url(u, proxy, 0);xs_html *img = xs_html_sctag("img",
xs_html_attr("loading", "lazy"),
xs_html_attr("src", url),
xs_html_attr("alt", n),
xs_html_attr("title", n),
xs_html_attr("class", "snac-emoji"),
xs_html_attr("style", style));xs *s1 = xs_html_render(img);
s = xs_replace_i(s, n, s1);
}
}
else
s = xs_replace_i(s, n, "");