src/cm/notifications.py
changeset 267 526d9178e290
parent 53 3be33d57ab11
child 272 1671766692e5
--- a/src/cm/notifications.py	Wed May 05 16:37:57 2010 +0200
+++ b/src/cm/notifications.py	Wed May 05 16:50:41 2010 +0200
@@ -35,7 +35,7 @@
                                              Comment.objects.filter(id__in = [activity.comment.id]),
                                              text=activity.text)
             if viewable and \
-                ((notification.type == 'own' and activity.comment.top_comment().user == notification.user) or
+                ((notification.type == 'own' and activity.comment.user != notification.user and activity.comment.top_comment().user == notification.user) or
                  (notification.type != 'own')):
                 if not notification.user in allready_notified:
                     send_notification(activity, notification)