diff --git a/src/bp-messages/bp-messages-functions.php b/src/bp-messages/bp-messages-functions.php
index 6699597b4..494cddf3c 100644
a
|
b
|
function messages_notification_new_message( $raw_args = array() ) { |
581 | 581 | |
582 | 582 | $sender_name = bp_core_get_user_displayname( $sender_id ); |
583 | 583 | |
| 584 | $message = apply_filters( 'bp_get_the_thread_message_content', $message ); |
| 585 | |
584 | 586 | // Send an email to each recipient. |
585 | 587 | foreach ( $recipients as $recipient ) { |
586 | 588 | if ( $sender_id == $recipient->user_id || 'no' == bp_get_user_meta( $recipient->user_id, 'notification_messages_new_message', true ) ) { |