(url: str, timeout: int = 7)
| 10498 | |
| 10499 | # Notifications (numbered indicators) |
| 10500 | dm_total, dm_by = dm_unread_counts(u) |
| 10501 | g.notifs = type("Obj", (), { |
| 10502 | "dm_total": dm_total, |
| 10503 | "dm_by_sender": dm_by, |
| 10504 | })() |
| 10505 | else: |
| 10506 | g.my_profile = None |
| 10507 | g.notifs = type("Obj", (), { |
| 10508 | "dm_total": 0, |
| 10509 | "dm_by_sender": {}, |
| 10510 | })() |
| 10511 | |
| 10512 | # --------------------------- |
no outgoing calls
no test coverage detected