This was in drupal 5 . it was fixed with :
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/og/og.modul...

but i can seem to see in the codes where that part in drupal 5 is in drupal 6 . anyone to point me to the right way
Thanks

CommentFileSizeAuthor
#1 notifications_content.module.patch753 bytesinzaghi

Comments

inzaghi’s picture

StatusFileSize
new753 bytes

Hello, Salimane:
It's because when normal user post a comment, two operatitons(insert and publish) will follow it, each operation will sand a notifications.
I made a patch , hope it's help you solve the problem;)

Anonymous’s picture

Oh thanks inzaghi, u saved my project :) . i hope the patch could be applied to dev and next releases.

dan_aka_jack’s picture

Status: Active » Needs review
moshe weitzman’s picture

Project: Organic Groups » Notifications
Component: og.module » Code

Looks like a patch for notifications framework.

Anonymous’s picture

yep it is a notification patch . and it's now obsolete since in the latest version they've corrected it.
thanks

moshe weitzman’s picture

Status: Needs review » Closed (duplicate)
i.chris.jacob’s picture

THANK YOU! Manually applied this to Notifications 6.x-1.x-dev, Drupal 6.5 and it worked!

Needed the part: ($op == 'insert' && user_access('administer comments')

FYI: Using Organic Groups (OG) and OG_Forum. Spent so long testing this and couldn't figure out why I was getting complete duplicate emails for comments on Thread Subscriptions. Thank you again - such a simple patch ;-)

SamRose’s picture

This seemed to work, but then occasionally I am still getting duplicate messages. Upgrading to 6.x-2.1 breaks site because of badly written .install files (I submitted one patch here but there are still problems http://drupal.org/node/514062 )

Notifications needs some debugging help!