Skip to content

Commit

Permalink
Move 'has room'/'no room' indicator to less important space
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre committed Feb 1, 2024
1 parent 1df1120 commit 19d0669
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/ScheduleCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export class ScheduleCommand implements ICommand {
html = "…<ul>";
}

const hasRoomIndicator = hasTalkRoom ? '(has talk room)' : '(no talk room)';
html += `<li>${formattedTimestamp}: <b>${task.type} on ${task.talk.title} ${hasRoomIndicator}</b> (<code>${task.id}</code>) ${taskStart.fromNow()}</li>`;
const hasRoomIndicator = hasTalkRoom ? 'has talk room' : 'no talk room';
html += `<li>${formattedTimestamp}: <b>${task.type} on ${task.talk.title}</b> (<code>${task.id}</code>, ${hasRoomIndicator}) ${taskStart.fromNow()}</li>`;
}
html += "</ul>";
await this.client.sendHtmlNotice(roomId, html);
Expand Down

0 comments on commit 19d0669

Please sign in to comment.