Command exited with code 0. Command output: 379: ws.active = bool(legacy.get("device_id", "")) 380: ws.active_mode = str(legacy.get("active_mode", "fcm")) 385: ws.active_fb_name = str(legacy.get("active_fb_name", "Unknown")) 750: active_workspaces = [ws for ws in self.workspaces.values() if ws.active and ws.device_id] 852: if not ws.active or not ws.group_id: 861: if not other_ws.active or not other_ws.group_id: 865: other_ws.active = False 888: if not ws.active or not ws.device_id: 900: if ws.active_mode in ("firebase", "fcm") and ws.forward_to: 907: log(f"Bridge started for user {user_id} ({ws.active_mode}).") 913: if not ws.active or not ws.device_id: 923: if ws.active_mode in ("firebase", "fcm") and ws.forward_to: 952: info.append("🟢 **BRIDGE ACTIVE**" if ws.active else "šŸ”“ **BRIDGE INACTIVE**") 953: info.append(f"šŸ“± **Mode:** {ws.active_mode.upper()}") 954: if ws.active_mode == "firebase" and ws.firebase_auth: 1312: ws.active_mode = "fcm" 1313: ws.active = True 1345: ws.active_mode = "firebase" 1346: ws.active = True 1358: fmt_msg("Firebase Live", f"šŸ”„ **Database:** `{ws.active_fb_name}`\nšŸ“± **Device:** `{ws.device_id}`\nšŸŽ“ **SIM:** `{'SIM 1' if ws.sim == '0' else 'SIM 2'}`\nšŸ”„ **Mode:** `FIREBASE`\n\nšŸ‘‰ **Action Required:** Please send the **forward number** now.", success=True), 1362: await self.send(user_id, fmt_msg("Firebase Live", f"šŸ”„ **Database:** `{ws.active_fb_name}`\nšŸ“± **Device:** `{ws.device_id}`\nšŸŽ“ **SIM:** `{'SIM 1' if ws.sim == '0' else 'SIM 2'}`\nšŸ”„ **Mode:** `FIREBASE`\n🟢 **Status:** Monitoring database...", success=True), keyboard=self._workspace_menu(ws)) 1418: ws.active_fb_name = name 1433: if ws.active_fb_name == name: 1465: if ws.active: 1547: ws.active_fcm_name = name 1561: if ws.active_fcm_name == name: 1565: ws.active_fcm_name = "" 1596: ws.active_mode = "fcm" 1597: ws.active = True 1783: fcm_status = "🟢 Active" if (ws.fcm_session_token and ws.active_mode == "fcm") else "šŸ”“ Inactive" 1785: if ws.active_fcm_name: 1786: info += f"šŸ· **Active:** `{ws.active_fcm_name}`\n" 1920: ws.active = False 1931: info.append(f"šŸ“” **State:** {'🟢 `ACTIVE`' if ws.active else 'šŸ”“ `INACTIVE`'}") 1932: info.append(f"šŸ›  **Mode:** `{ws.active_mode.upper()}`") 1933: if ws.active_mode == "firebase" and ws.firebase_auth: 1935: if ws.active_mode == "fcm" and ws.fcm_session_token: 1937: if ws.active_mode == "fcm" and ws.fcm_app_id: 2238: if not ws.active or not ws.device_id: 2369: ws.active_fcm_name = ws.temp_name 2437: if ws.active_fcm_name and ws.active_fcm_name in ws.saved_fcms: 2438: ws.saved_fcms[ws.active_fcm_name]["token"] = session_id 2439: ws.saved_fcms[ws.active_fcm_name]["jwt"] = jwt_token 2453: if ws.active_mode == "firebase": 2515: jwt_token = ws.saved_fcms.get(ws.active_fcm_name, {}).get("jwt", "") if ws.active_fcm_name else "" 2545: jwt_token = ws.saved_fcms.get(ws.active_fcm_name, {}).get("jwt", "") if ws.active_fcm_name else "" 2584: if not ws.active or not ws.forward_to or ws.active_mode not in ("firebase", "fcm") or not ws.device_id: 2595: ws.active = False 2622: ws.active = False 2637: ws.active = False 2698: ws.active = False