diff --git bp-messages/bp-messages-notifications.php bp-messages/bp-messages-notifications.php
index f48deb5..661ce44 100644
--- bp-messages/bp-messages-notifications.php
+++ bp-messages/bp-messages-notifications.php
@@ -150,6 +150,10 @@ function messages_format_notifications( $action, $item_id, $secondary_item_id, $
  * @param obj $message
  */
 function bp_messages_message_sent_add_notification( $message ) {
+	if ( is_array( $message ) ) {
+		$message = (object) $message;
+	}
+
 	if ( bp_is_active( 'notifications' ) && ! empty( $message->recipients ) ) {
 		foreach ( (array) $message->recipients as $recipient ) {
 			bp_notifications_add_notification( array(
