WIP Telegram: modulo akode-telegram (API e impostazioni), in pausa

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-12 08:21:25 +01:00
parent 9636b74c7d
commit 28bddb1b0c
41 changed files with 4216 additions and 4 deletions

View File

@@ -207,7 +207,8 @@ pub enum ConnectionOrigin {
static CONNECTION_ID_COUNTER: AtomicU64 = AtomicU64::new(0);
fn next_connection_id() -> ConnectionId {
/// A fresh id for a new connection, also used by internal clients such as the Telegram bridge.
pub fn next_connection_id() -> ConnectionId {
ConnectionId(CONNECTION_ID_COUNTER.fetch_add(1, Ordering::Relaxed))
}