Update static/js/05-feed.js

This commit is contained in:
dev 2026-11-02 05:05:12 +00:00
parent 1945329f40
commit 8529ae06e1

View File

@ -178,12 +178,12 @@ Glow.buildFeedEntry = entry => {
const context = document.createElement("button");
context.className = "feed-room-link";
context.type = "button";
if (entry.team_name && entry.channel_name) {
context.textContent = `${entry.team_name} · # ${entry.channel_name}`;
context.textContent = `${entry.team_name} · # ${entry.channel_name}`;
} else {
context.textContent =
`${entry.room_visibility === "private" ? "(private) " : "# "}${entry.room_name || "channel"}`;
context.textContent =
`${entry.room_visibility === "private" ? "(private) " : "# "}${entry.room_name || "channel"}`;
}
context.addEventListener("click", () => {