How to use view for displaying messages between two users as chat

by Thomas0878   Last Updated January 10, 2018 16:07 PM

I would like to create a view that renders message entities with the following condition to display the messages between two users like a chat:

(creator = $user-A and to = $user-B) OR (creator =$user-B and to = $user-A)

Is there any possibility to achieve this in views? If not, how else can I do this?

Tags : views 8


Related Questions



Group items in Views by value in Field Collection

Updated July 20, 2015 13:03 PM

List of referenced entities appended to a node

Updated January 12, 2017 08:03 AM