#6087 closed defect (bug) (fixed)
Incorrect single private message thread description
Reported by: | johnjamesjacoby | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | 2.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | commit |
Cc: |
Description
When a member private messages themselves, they see a description that says:
"Conversation between and you."
single.php
attempts to check ! bp_get_thread_recipients_count()
but this doesn't account for 1 single person messaging themselves.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
For the record: the logic in
BP_Messages_Thread::get_recipients()
ensures that the thread recipient count will correctly be 1 in cases like this, which means we can safely rely on it for a<=
check.Looks good to me.