Release V1.4

This commit is contained in:
Flatlogic Bot 2026-02-21 22:52:13 +00:00
parent 4e95f028af
commit 4134769709

View File

@ -3339,6 +3339,7 @@ document.addEventListener('DOMContentLoaded', () => {
`;
}
const isManualAnn = msg.metadata && (typeof msg.metadata === 'string' ? JSON.parse(msg.metadata) : msg.metadata).is_manual_announcement;
const isMe = msg.user_id == window.currentUserId || msg.username == window.currentUsername;
const hasManageRights = window.canManageChannels || window.isServerOwner || false;
@ -3373,8 +3374,6 @@ document.addEventListener('DOMContentLoaded', () => {
const mentionHtml = `<span class="mention">@${window.currentUsername}</span>`;
const contentWithMentions = parseCustomEmotes(msg.content).replace(mentionRegex, mentionHtml);
const isManualAnn = msg.metadata && (typeof msg.metadata === 'string' ? JSON.parse(msg.metadata) : msg.metadata).is_manual_announcement;
div.innerHTML = `
<div class="message-avatar" style="${avatarStyle}"></div>
<div class="message-content">