diff --git src/bp-messages/bp-messages-screens.php src/bp-messages/bp-messages-screens.php
index 9cb61afc3..84961059e 100644
|
|
function messages_screen_conversation() { |
129 | 129 | } |
130 | 130 | |
131 | 131 | // No access. |
132 | | if ( ! messages_check_thread_access( $thread_id ) && ! bp_current_user_can( 'bp_moderate' ) ) { |
| 132 | if ( ( ! messages_check_thread_access( $thread_id ) || ! bp_is_my_profile() ) && ! bp_current_user_can( 'bp_moderate' ) ) { |
133 | 133 | // If not logged in, prompt for login. |
134 | 134 | if ( ! is_user_logged_in() ) { |
135 | 135 | bp_core_no_access(); |