Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/pidgin-opensteamworks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreionrobb <eionrobb@8ca6c67d-4297-256d-f884-781da6d5760b>2015-02-16 05:06:14 +0300
committereionrobb <eionrobb@8ca6c67d-4297-256d-f884-781da6d5760b>2015-02-16 05:06:14 +0300
commita12b5790b34e66aea26d35c2769c72d686e4d029 (patch)
treeeda39054606de9bc30f2e2fcdec11ce6fe7726fa
parent48d248c6560d5551f88a54714406cc42debc226d (diff)
Fix for incorrect buddy list emblem if a person is logged into multiple devices
-rw-r--r--steam-mobile/libsteam.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/steam-mobile/libsteam.c b/steam-mobile/libsteam.c
index a8d89c8..274401e 100644
--- a/steam-mobile/libsteam.c
+++ b/steam-mobile/libsteam.c
@@ -912,16 +912,21 @@ steam_list_emblem(PurpleBuddy *buddy)
if (sbuddy)
{
- if (sbuddy->gameextrainfo)
+ if (sbuddy->gameextrainfo || sbuddy->personastateflags & 2)
{
return "game";
}
- if (sbuddy->personastateflags == 512)
+ if (sbuddy->personastateflags & 256)
+ {
+ //Web
+ return "external";
+ }
+ if (sbuddy->personastateflags & 512)
{
//Steam mobile, also Pidgin
return "mobile";
}
- if (sbuddy->personastateflags == 1024)
+ if (sbuddy->personastateflags & 1024)
{
//Big Picture mode
return "hiptop";