Skip to:
Content
Pages
Categories
Search
Top
Bottom

Last message in private message thread – How to tell if it was sent or received

  • Avatar of Henry
    Henry
    Participant

    @henrywright-1

    When viewing a private message thread e.g username/messages/view/30/ – is there a way of knowing if the last message in the thread was sent or received?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @henrywright-1 Not quite clear. If you see the message listed there then the message was sent. As to whether the other member received the message, not sure until you test it yourself in your installation. If this is not what you’re referring to, please be more specific :-)

    Avatar of Henry
    Henry
    Participant

    @henrywright-1

    Hi @mercime,

    Apologies, let me explain..

    If you see the message listed there then the message was sent

    A private message thread can end up with many messages. Some of the messages in the thread were sent by you to a site member and some of the messages in the thread were received by you (sent to you by a site member).

    I am interested in the very last message in the thread. How can I tell if that very last message was sent to me from somebody else or sent by me to somebody else?

    Hope that helps?

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    EDIT: Read that completely wrong.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    How can I tell if that very last message was sent to me from somebody else or sent by me to somebody else?

    @henrywright-1 Per structure of the example link you provided username/messages/view/30/ there are only two members in that thread, you and one other member. If the very last message has the avatar/username of the one other member with text e.g. “Sent July 12, 2013″ then that message was sent by that one other member in the thread to you. Otherwise, if you see your avatarusername there at that very last message, then you sent that message to the one other member in that thread.

    Avatar of Henry
    Henry
    Participant

    @henrywright-1

    Hi @mercime

    The thread example I posted “username/messages/view/30/” can actually have more than two members. Conversations can have lots of members.

    Obviously I can tell if the last message in the thread was sent to me by looking at it. I wanted to know how to check programatically. Sorry if I didn’t make that obvious. :)

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

You must be logged in to reply to this topic.