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

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'skypeweb/libskypeweb.c')
-rw-r--r--skypeweb/libskypeweb.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/skypeweb/libskypeweb.c b/skypeweb/libskypeweb.c
index 30564bc..d7776eb 100644
--- a/skypeweb/libskypeweb.c
+++ b/skypeweb/libskypeweb.c
@@ -55,6 +55,13 @@ skypeweb_do_all_the_things(SkypeWebAccount *sa)
static const char *
skypeweb_list_icon(PurpleAccount *account, PurpleBuddy *buddy)
{
+
+ if (buddy != NULL) {
+ const gchar *buddy_name = purple_buddy_get_name(buddy);
+ if (buddy_name && SKYPEWEB_BUDDY_IS_MSN(buddy_name)) {
+ return "msn";
+ }
+ }
return "skype";
}