Ticket #4776: 4776.patch
File 4776.patch, 1.0 KB (added by , 12 years ago) |
---|
-
bp-activity/bp-activity-notifications.php
57 57 bp_core_add_notification( $activity_id, $receiver_user_id, 'activity', 'new_at_mention', $activity->user_id ); 58 58 59 59 // Now email the user with the contents of the message (if they have enabled email notifications) 60 if ( 'no' != bp_get_user_meta( $receiver_user_id, 'notification_activity_new_mention', true ) ) { 60 $user_setting_pre_filter = bp_get_user_meta( $receiver_user_id, 'notification_activity_new_mention', true ); 61 62 $user_notification_preference = apply_filters( 'bp_activity_at_message_notification_preference', $user_setting_pre_filter, $activity_id, $receiver_user_id, $activity->user_id); 63 64 if ( 'no' != $user_preference ) { 61 65 $poster_name = bp_core_get_user_displayname( $activity->user_id ); 62 66 63 67 $message_link = bp_activity_get_permalink( $activity_id );