summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-03-17 20:09:32 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-03-17 20:09:32 +0300
commit6a97f3222491e7563bb77508327105809daa34a2 (patch)
tree6b6fcea25d0bf1ef17dfcc22a6600479695b0d20
parentb9d52d83d8dcae2aa66a1407925ba5be02b84eed (diff)
Steam: extra icon for voice channels
-rw-r--r--protocols/Steam/src/steam_chats.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_chats.cpp b/protocols/Steam/src/steam_chats.cpp
index 91bdabc332..0b459100ac 100644
--- a/protocols/Steam/src/steam_chats.cpp
+++ b/protocols/Steam/src/steam_chats.cpp
@@ -110,6 +110,9 @@ void CSteamProto::OnGetMyChats(const CChatRoomGetMyChatRoomGroupsResponse &reply
if (!ids.empty())
SendUserInfoRequest(ids);
+ if (pChat->voice_allowed)
+ ExtraIcon_SetIcon(hExtraXStatus, si->hContact, Skin_GetIconHandle(SKINICON_OTHER_SOUND));
+
uint32_t dwLastMsgId = getDword(si->hContact, DBKEY_LASTMSG);
if (pChat->time_last_message > dwLastMsgId)
SendGetChatHistory(si->hContact, dwLastMsgId);