voelin-core: offline messages to the unique id's bytes; voelinctl checks
messageadd carries the recipient's unique id as bytes (base64 on the wire); the engine passed the base64 text itself, which the server refused as an invalid client id. voelinctl engine can now wait for an icon or a flagged poke (listen --expect matches pokes, chat and icons), for a friend to be seen online (contacts ls --expect-online), and identity show prints the unique id a TeamSpeak 6 server knows the identity by (uid6), which offline messages there need. Contacts commands wait for the stored contacts to load instead of for an event they could miss. Verified against 3.13.8 and 6.0.0-beta13.1: file upload, listing, download, a chat link downloaded by another client, avatars (the a-p file name on both), channel icons, pokes, private messages, offline messages, friend presence and blocked pokes (flagged and hidden). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
1 parent
e10c5ba7f4
commit
aefe83d33a
3 files changed
+48
-20
No files matched your search
@@ -252,7 +252,11 @@ fn run_identity(command: IdentityCommand) -> Result<()> {
|
||||
let id = identity::load(&path)?;
|
||||
println!("uid: {}", identity::uid(&id));
|
||||
println!("level: {}", id.level());
|
||||
println!("omega: {}", id.key().to_pub().to_ts());
|
||||
let omega = id.key().to_pub().to_ts();
|
||||
// TeamSpeak 6 servers know the identity by another unique id.
|
||||
let ids = voelin_gateway_proto::UniqueIds::from_omega(&omega);
|
||||
println!("uid6: {}", ids.ts6);
|
||||
println!("omega: {omega}");
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user