public function activateAllParticipants()
    {
        $participants = $this->participants()->withTrashed()->get();
        foreach ($participants as $participant) {
            $participant->restore();
        }
    }
public function activateAllParticipants()
    {
        $participants = $this->participants()->withTrashed()->get();
        foreach ($participants as $participant) {
            $participant->restore();
        }
    }
public function activateAllParticipants ( ) { $ participants = $ this -> participants ( ) -> withTrashed ( ) -> get ( ) ; foreach ( $ participants as $ participant ) { $ participant -> restore ( ) ; } }
Restores all participants within a thread that has a new message.

@return void
Restores all participants within a thread that has a new message .