Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd committed May 12, 2024
2 parents 8a0cbc6 + 36dbef4 commit 92788c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/messenger.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,7 @@ class Messenger {
}

_isBroadcaster(context) {
return true
//return context['user-id'] === context['room-id']
return context['user-id'] === context['room-id']
}
}

Expand Down
2 changes: 1 addition & 1 deletion views/pages/comandos.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<a class="nav-link" href="fotos">Fotos</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="$"><strong>Comandos</strong></a>
<a class="nav-link active" aria-current="page" href="#"><strong>Comandos</strong></a>
</li>
<li class="nav-item">
<a class="nav-link" href="rutas">Rutas</a>
Expand Down
2 changes: 1 addition & 1 deletion views/pages/rutas.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<a class="nav-link" href="comandos">Comandos</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="$"><strong>Rutas</strong></a>
<a class="nav-link active" aria-current="page" href="#"><strong>Rutas</strong></a>
</li>
</ul>

Expand Down

0 comments on commit 92788c4

Please sign in to comment.