public void notify(Channel chan, Channel.Message msg) { synchronized (notifs) { notifs.addFirst(new Notification(chan, msg)); } Audio.play(notifsfx); }