Rename ensure presence menu copy to Rebroadcast

This commit is contained in:
thePR0M3TH3AN committed 2025-10-09 09:07:06 -04:00
1 parent d6fd0fd8e9
commit 87d0caed5b
5 files changed
+9 -10

No files matched your search

+5 -5
View File
@@ -5489,8 +5489,8 @@ class Application {
const remainingSeconds = Math.ceil(remainingMs / 1000);
const message =
remainingSeconds > 0
? `Ensure presence is cooling down. Try again in ${remainingSeconds}s.`
: "Ensure presence is cooling down. Try again soon.";
? `Rebroadcast is cooling down. Try again in ${remainingSeconds}s.`
: "Rebroadcast is cooling down. Try again soon.";
this.showStatus(message);
if (typeof window !== "undefined" && typeof window.setTimeout === "function") {
window.setTimeout(() => {
@@ -5513,7 +5513,7 @@ class Application {
this.showError("Cannot reach relays right now. Please try again later.");
break;
default:
this.showError("Failed to ensure presence. Please try again later.");
this.showError("Failed to rebroadcast. Please try again later.");
break;
}
return;
@@ -5527,9 +5527,9 @@ class Application {
this.showSuccess("Rebroadcast requested across relays.");
} catch (error) {
if (isDevMode) {
console.warn("[app] Ensure presence action failed:", error);
console.warn("[app] Rebroadcast action failed:", error);
}
this.showError("Failed to ensure presence. Please try again later.");
this.showError("Failed to rebroadcast. Please try again later.");
}
}
+1 -1
View File
@@ -803,7 +803,7 @@ export class VideoCard {
};
addActionButton(
"Ensure presence (re-publish original)",
"Rebroadcast",
"ensure-presence",
ensureDataset,
["text-gray-100", "hover:bg-gray-700"],