Whether the caller's code is paired on WhatsApp, and to whom, for the settings card. Answers the question the whitelist check can't: whitelisted means "we may message this number", linked means "this phone can talk to my Observer session".
(code: str, current_user: AuthUser)
| 638 | |
| 639 | @remote_router.get("/remote/status", tags=["Remote"]) |
| 640 | async def remote_status(code: str, current_user: AuthUser): |
| 641 | """ |
| 642 | Whether the caller's code is paired on WhatsApp, and to whom, for the settings card. |
| 643 | Answers the question the whitelist check can't: whitelisted means "we may message |
| 644 | this number", linked means "this phone can talk to my Observer session". |
| 645 | """ |
| 646 | return await _status(await _require_owner(code, current_user.id), "whatsapp") |
| 647 | |
| 648 | |
| 649 | @remote_router.get("/remote/telegram/status", tags=["Remote"]) |
nothing calls this directly
no test coverage detected