diff options
Diffstat (limited to 'plugins/AuthState/src')
-rw-r--r-- | plugins/AuthState/src/main.cpp | 10 | ||||
-rw-r--r-- | plugins/AuthState/src/version.h | 2 |
2 files changed, 8 insertions, 4 deletions
diff --git a/plugins/AuthState/src/main.cpp b/plugins/AuthState/src/main.cpp index 74226b8b43..76e12e5a67 100644 --- a/plugins/AuthState/src/main.cpp +++ b/plugins/AuthState/src/main.cpp @@ -71,17 +71,21 @@ INT_PTR getIconToUse(HANDLE hContact, LPARAM lParam) if (db_get_dw(hContact,proto,"ServerId",1) == 0)
return icon_both;
+ // Facebook contact type
+ int type = db_get_b(hContact, proto, "ContactType", 0);
+
if (bUseAuthIcon & bUseGrantIcon)
- if (db_get_b(hContact,proto,"Auth",0) && db_get_b(hContact,proto,"Grant",0))
+ if ((db_get_b(hContact,proto,"Auth",0) && db_get_b(hContact,proto,"Grant",0)) || type == 2)
return icon_both;
if (bUseAuthIcon)
- if (db_get_b(hContact,proto,"Auth",0))
+ if (db_get_b(hContact,proto,"Auth",0) || type == 3)
return icon_auth;
if (bUseGrantIcon)
- if (db_get_b(hContact,proto,"Grant",0))
+ if (db_get_b(hContact,proto,"Grant",0) || type == 4)
return icon_grant;
+
return icon_none;
}
diff --git a/plugins/AuthState/src/version.h b/plugins/AuthState/src/version.h index 254161210e..6cc3f4cafa 100644 --- a/plugins/AuthState/src/version.h +++ b/plugins/AuthState/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 0
#define __RELEASE_NUM 2
-#define __BUILD_NUM 0
+#define __BUILD_NUM 1
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
|