enable disabled features

This commit is contained in:
Mathium05
2026-07-29 17:56:18 -05:00
parent 2f047b58d9
commit 35c8c86b29
2 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -464,7 +464,7 @@ if (window.location.pathname.startsWith("/channels")) {
},
{
//TODO re-enable this once polls is merged
visible: () => false, //!!thisUser.channelfocus?.hasPermission("SEND_POLLS"),
visible: () => !!thisUser?.focusChannel?.hasPermission("SEND_POLLS"),
},
);
umenu.addButton(I18n.upload(), () => {
+11 -12
View File
@@ -2777,21 +2777,20 @@ class Localuser {
connectionContainer.appendChild(container);
});
//TODO enable this once domain verification is ready within Harmony
if (false as true) {
const container = document.createElement("div");
const span = document.createElement("span");
span.classList.add("conImg", "svgicon");
span.style.setProperty("mask", `url("/icons/domain.svg")`);
container.append(span);
const container = document.createElement("div");
container.addEventListener("click", async () => {
this.domainVerification();
});
const span = document.createElement("span");
span.classList.add("conImg", "svgicon");
span.style.setProperty("mask", `url("/icons/domain.svg")`);
container.append(span);
container.addEventListener("click", async () => {
this.domainVerification();
});
connectionContainer.appendChild(container);
connectionContainer.appendChild(container);
}
serverConnections
.filter((_) => actConMap.has(_))
.forEach((_) => {