mirror of
https://github.com/Trollobot/Telemax.git
synced 2026-08-30 00:31:47 +00:00
ensureTopicForMaxChat now catches a createForumTopic failure and, for a recognized cause (starting with "not enough rights to create a topic" — Manage Topics isn't part of Telegram's default admin preset, confirmed live, and previously just failed identically for every single chat with nothing but a server log to explain why), posts a one-time actionable message to the group instead of leaving the admin to guess. Extensible list for future patterns. Web panel: a "log out / change number" button once authenticated, reusing killMaxSession's MAX-side teardown (disconnect + delete the session) via a new /api/auth/logout endpoint — scoped to just that, unlike /kill, which also wipes Telegram topics. |
||
|---|---|---|
| .. | ||
| bridge | ||
| max | ||
| server | ||
| store | ||
| telegram | ||
| types | ||
| api.ts | ||
| App.tsx | ||
| index.css | ||
| logger.ts | ||
| main.tsx | ||