/***************************************************************************
-* Copyright (C) 2005-08 by the Quassel Project *
+* Copyright (C) 2005-09 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
}
void PhononNotificationBackend::notify(const Notification ¬ification) {
- Q_UNUSED(notification)
- if(_enabled && _media) {
+ if(_enabled && _media && (notification.type == Highlight || notification.type == PrivMsg)) {
+ _media->stop();
_media->play();
}
}