@@ -1549,6 +1549,12 @@ document.addEventListener('DOMContentLoaded', () => {
const isUrl = icon.startsWith('http') || icon.startsWith('/');
if (isUrl) {
return `
})
`;
+ } else if (icon.startsWith(':') && icon.endsWith(':')) {
+ const ce = (window.CUSTOM_EMOTES_CACHE || []).find(e => e.code === icon);
+ if (ce) {
+ return `

`;
+ }
+ return `
${escapeHTML(icon)}`;
} else {
return `
${escapeHTML(icon)}`;
}
@@ -1632,7 +1638,7 @@ document.addEventListener('DOMContentLoaded', () => {
const item = document.createElement('div');
item.className = 'list-group-item bg-transparent text-white border-secondary d-flex justify-content-between align-items-center p-2 mb-1 rounded role-sortable-item';
item.dataset.id = role.id;
- const isUrl = role.icon_url && (role.icon_url.startsWith('http') || role.icon_url.startsWith('/'));
+ const roleIconHtml = renderRoleIconJS(role.icon_url, '12px');
item.innerHTML = `
@@ -1640,7 +1646,7 @@ document.addEventListener('DOMContentLoaded', () => {
${role.name}
- ${role.icon_url ? (isUrl ? `

` : `
${role.icon_url}`) : ''}
+ ${roleIconHtml}
@@ -1692,8 +1698,7 @@ document.addEventListener('DOMContentLoaded', () => {
const item = document.createElement('div');
item.className = 'list-group-item bg-transparent text-white border-secondary d-flex justify-content-between align-items-center p-2 mb-2 rounded bg-dark';
- const isIconUrl = member.role_icon && (member.role_icon.startsWith('http') || member.role_icon.startsWith('/'));
- const roleIconHtml = member.role_icon ? (isIconUrl ? `

` : `
${member.role_icon}`) : '';
+ const roleIconHtml = renderRoleIconJS(member.role_icon, '12px');
item.innerHTML = `
@@ -2536,7 +2541,10 @@ document.addEventListener('DOMContentLoaded', () => {
diff --git a/requests.log b/requests.log
index 669ba83..3c3dea6 100644
--- a/requests.log
+++ b/requests.log
@@ -250,3 +250,6 @@
2026-02-16 17:09:55 - GET /index.php?server_id=1&channel_id=17 - POST: []
2026-02-16 17:09:57 - GET /index.php?server_id=1&channel_id=17 - POST: []
2026-02-16 17:09:59 - GET /index.php?server_id=1&channel_id=17 - POST: []
+2026-02-16 17:41:16 - GET / - POST: []
+2026-02-16 17:41:28 - GET /?fl_project=38443 - POST: []
+2026-02-16 18:00:22 - GET /index.php?server_id=1&channel_id=17 - POST: []