Skip to:
Content

BuddyPress.org

Changeset 2387


Ignore:
Timestamp:
01/21/2010 09:51:25 AM (15 years ago)
Author:
apeatling
Message:

Fixes #1638 - email notifications of @ messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity.php

    r2384 r2387  
    4848                KEY user_id (user_id),
    4949                KEY item_id (item_id),
    50                 KEY component (component)
     50                KEY component (component),
     51                KEY mptt_left (mptt_left),
     52                KEY mptt_right (mptt_right)
    5153               ) {$charset_collate};";
    5254
     
    545547    /* Add this update to the "latest update" usermeta so it can be fetched anywhere. */
    546548    update_usermeta( $bp->loggedin_user->id, 'bp_latest_update', array( 'id' => $activity_id, 'content' => wp_filter_kses( $content ) ) );
     549
     550    /* Require the notifications code so email notifications can be set on the 'bp_activity_posted_update' action. */
     551    require_once( BP_PLUGIN_DIR . '/bp-activity/bp-activity-notifications.php' );
    547552
    548553    do_action( 'bp_activity_posted_update', $content, $user_id, $activity_id );
Note: See TracChangeset for help on using the changeset viewer.