@extends('front.layout.master') @php $authUser = Auth::user(); $sellerac = App\Store::where('user_id','=', $authUser->id)->first(); $other = $conversation->sender_id == auth()->id() ? $conversation->reciever : $conversation->sender; $otherImg = $other && $other->image && file_exists(public_path() . '/images/user/' . $other->image) ? url('images/user/' . $other->image) : ($other ? Avatar::create($other->name)->toBase64() : ''); @endphp @section('title','View Chat: ' . $conversation->conv_id . ' | ') @section('stylesheet') @endsection @section('body')