Skip to:
Content
Pages
Categories
Search
Top
Bottom

Column sender_only


  • mwittrock
    Participant

    @mwittrock

    Hi there

    I’m writing code to migrate a custom messaging system to BuddyPress.

    Can someone in here possibly shed some light on the purpose of column “sender_only” in the recipients table (wp_bp_messages_recipients)?

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

  • shanebp
    Moderator

    @shanebp

    Grep sender_only in buddypress/bp-messages.

    afaik, it provides a field for determining whether a message you send appears in your inbox and is included in total counts and unread counts.


    mwittrock
    Participant

    @mwittrock

    Thanks for your reply. It seems that this flag is set only as long as the thread only contains the sender’s original message. As soon as there are replies, the flag is cleared.

    I ended up coding the migration this way, and it worked out nicely.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar