app/soc/logic/models/notification.py
changeset 1556 c81109a8a1a1
parent 1517 a467d13e34ea
child 2708 db544114b158
--- a/app/soc/logic/models/notification.py	Sat Feb 28 12:10:49 2009 +0000
+++ b/app/soc/logic/models/notification.py	Sat Feb 28 12:11:20 2009 +0000
@@ -58,6 +58,7 @@
       # there is only one unread notification so send out an email
       notifications.sendNewNotificationMessage(entity)
 
+    sidebar.flush(entity.scope.account)
     super(Logic, self)._onCreate(entity)
 
   def _updateField(self, entity, entity_properties, name):