diff options
Diffstat (limited to 'src/net/java/sip/communicator/service/notification/NotificationServiceImpl.java')
-rw-r--r-- | src/net/java/sip/communicator/service/notification/NotificationServiceImpl.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/service/notification/NotificationServiceImpl.java b/src/net/java/sip/communicator/service/notification/NotificationServiceImpl.java index 76c0fd1..bfaeb79 100644 --- a/src/net/java/sip/communicator/service/notification/NotificationServiceImpl.java +++ b/src/net/java/sip/communicator/service/notification/NotificationServiceImpl.java @@ -149,8 +149,14 @@ class NotificationServiceImpl if (actionType.equals(ACTION_SOUND)) { - registerNotificationForEvent (eventType, - new SoundNotificationAction(actionDescriptor, -1)); + Notification notification = defaultNotifications.get(eventType); + SoundNotificationAction action = + (SoundNotificationAction) notification.getAction(ACTION_SOUND); + registerNotificationForEvent ( + eventType, + new SoundNotificationAction( + actionDescriptor, + action.getLoopInterval())); } else if (actionType.equals(ACTION_LOG_MESSAGE)) { |