소스 검색

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

Vijayakrishnan Krishnan 5 년 전
부모
커밋
335bf6534c
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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,