Skip to content
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
arma7x committed Oct 10, 2022
1 parent 87a6e25 commit c91732f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/Room.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@
menu.push({ title: 'Entities' });
}
if (msg.media) {
menu.push({ title: 'Media Menu' });
menu.push({ title: 'Message Media' });
}
if (msg.replyMarkup && msg.replyMarkup.rows) {
let show = true;
Expand Down Expand Up @@ -670,7 +670,7 @@
setTimeout(async () => {
if (scope.selected.title ==='Entities') {
showEntities(entities);
} else if (scope.selected.title === 'Media Menu') {
} else if (scope.selected.title === 'Message Media') {
if (msg && msg.id.toString()) {
if (messageMetadata[msg.id.toString()]) {
const cb = messageMetadata[msg.id.toString()].callback;
Expand Down

0 comments on commit c91732f

Please sign in to comment.