Skip to:
Content

BuddyPress.org

Ticket #5273: 5273.2.patch

File 5273.2.patch, 623 bytes (added by henrywright, 12 years ago)
  • bp-messages-notifications.php

     
    154154                foreach ( (array) $message->recipients as $recipient ) {
    155155                        bp_notifications_add_notification( array(
    156156                                'user_id'           => $recipient->user_id,
    157                                 'item_id'           => $message->id,
     157                                'item_id'           => $message->thread_id,
    158158                                'secondary_item_id' => $message->sender_id,
    159159                                'component_name'    => buddypress()->messages->id,
    160160                                'component_action'  => 'new_message',