Skip to content

Commit

Permalink
Update chat.js 'temp muted' sub/donate links
Browse files Browse the repository at this point in the history
Updated links to be relative
  • Loading branch information
KyrunaKJ authored Nov 24, 2024
1 parent 9269138 commit 30bee5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/chat/js/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -1290,7 +1290,7 @@ class Chat {
case 'muted': {
this.mutedtimer.setTimer(data.muteTimeLeft);
this.mutedtimer.startTimer();
const messageText = `You are temporarily muted! You can chat again ${this.mutedtimer.getReadableDuration()}. <a href="${this.config.dggOrigin}/subscribe">Subscribe</a>, or <a href="${this.config.dggOrigin}/donate">donate</a>, to remove the mute immediately.`;
const messageText = `You are temporarily muted! You can chat again ${this.mutedtimer.getReadableDuration()}. <a href="/subscribe">Subscribe</a>, or <a href="/donate">donate</a>, to remove the mute immediately.`;

message = new ChatMessage(messageText, null, MessageTypes.ERROR, true);
break;
Expand Down

0 comments on commit 30bee5d

Please sign in to comment.