Skip to content

Commit 98d7998

Browse files
author
thyttan
committed
messagegui: remove dead code for music handling
1 parent 0c3cffe commit 98d7998

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

apps/messagegui/app.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -731,9 +731,6 @@ function checkMessages(options) {
731731
}
732732
return;
733733
}
734-
// no new messages: show playing music? Only if we have playing music, or state=="show" (set by messagesmusic)
735-
if (options.openMusic && MESSAGES.some(m=>m.id=="music" && ((m.track && m.state=="play") || m.state=="show")))
736-
return showMessageOverview('music');
737734
// no new messages - go to clock?
738735
if (options.clockIfAllRead && newMessages.length==0)
739736
return load();

0 commit comments

Comments
 (0)