mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
feat: show real TeamSpeak avatars
The connector now reports client_flag_avatar (the avatar's MD5) per client. The browser derives /avatar_<uid> from the UID and fetches it through the existing channel-0 file cache used for group icons, again whenever the hash changes. Only the own channel and the selected client are fetched, so a big server does not push every avatar through the gateway; avatars are capped at 512 KiB like icons. They replace the initials tile in the tree (Nova/Pulse), the speaking-now bar, and appear in the client info panel. Also fixes the Nova connect dialog staying open over an auto-connect: its "forced open while disconnected" effect ran after the auto-connect had closed it, and nothing closed it again once connected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
7b3cb5ef09
commit
4b245d69d3
4 files changed
+124
-17
No files matched your search
@@ -1417,6 +1417,22 @@
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.ts-avatar-img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
.ts-info-avatar {
|
||||
display: block;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
object-fit: cover;
|
||||
border-radius: 6px;
|
||||
margin: 0.2rem 0 0.4rem;
|
||||
}
|
||||
|
||||
.ts-menu-volume input {
|
||||
flex: 1;
|
||||
min-width: 6rem;
|
||||
|
||||
Reference in new issue
Block a user