MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / _set_device_token_cookie

Function _set_device_token_cookie

Scripts/ButSystem.py:1390–1392  ·  view source on GitHub ↗
(resp, token: str)

Source from the content-addressed store, hash-verified

1388 cards.sort(key=lambda c: (0 if c["online"] else 1, str(c["nickname"]).lower(), c["username"].lower()))
1389
1390 online_count = sum(1 for c in cards if c["online"])
1391 offline_count = len(cards) - online_count
1392 return cards, online_count, offline_count
1393
1394def online_sorted_users(exclude: Optional[str]=None, scope: Optional[str]=None) -> List[Tuple[str, bool]]:
1395 """online_sorted_users.

Callers 2

device_access_pollFunction · 0.70
_complete_login_sessionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected