I have problem with my code. I want to get unique users/conversations.
My database look like this

```
ID| FROM | TO | MESSAGE 

```

I want to get unique list of this chats, but when i have (1,2) (2,1) when someone answer i have doubled records.

```
Message::select('from','to','message','created_at')->latest()->where('from',Auth::id())->orWhere('to',Auth::id())->with('from','to')->distinct('from','to')->get()

```