devillom

Results 2 issues of devillom

``` $friendships = $this->user->getAcceptedFriendships(); foreach ($friendships as $friendship) { if ($friendship->sender_id != $this->user->id) { $this->friends[] = $friendship->sender()->first(); } else { $this->friends[] = $friendship->recipient()->first(); } } $this->page['friends'] = $this->friends; ```

How to send message by php?

enhancement
help wanted