Explorar o código

Auto-resume pro's meeting in case of accidental refresh

Vijayakrishnan Krishnan %!s(int64=5) %!d(string=hai) anos
pai
achega
335bf6534c
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      app/Http/Controllers/ProController.php

+ 3 - 0
app/Http/Controllers/ProController.php

@@ -55,6 +55,9 @@ class ProController extends Controller
         if(!empty($uid)) {
             $client = DB::table('client')->where('uid', $uid)->first();
         }
+        else if($pro->in_meeting_with_client_id) {
+            $client = DB::table('client')->where('id', $pro->in_meeting_with_client_id)->first();
+        }
         return view('pro-call', [
             'guest' => false,
             'session' => $session,