diff --git a/src/net/java/sip/communicator/impl/notification/NotificationServiceImpl.java b/src/net/java/sip/communicator/impl/notification/NotificationServiceImpl.java index 67c23d6eb..e71372869 100644 --- a/src/net/java/sip/communicator/impl/notification/NotificationServiceImpl.java +++ b/src/net/java/sip/communicator/impl/notification/NotificationServiceImpl.java @@ -259,13 +259,14 @@ public Iterator getRegisteredEvents() */ public Map getEventNotifications(String eventType) { + Hashtable actions = new Hashtable(); + EventNotification notification = (EventNotification) notificationsTable.get(eventType); if(notification == null) return null; - - Hashtable actions = new Hashtable(); + Iterator srcActions = notification.getActions().values().iterator(); while(srcActions.hasNext()) @@ -363,7 +364,6 @@ public void fireNotification(String eventType, String title, String message) if (actionType.equals(NotificationService.ACTION_POPUP_MESSAGE)) { - System.out.println("POPUP MESSAGE "); ((PopupMessageNotificationHandler) action.getActionHandler()) .popupMessage(title, message); }