aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-04-04 16:19:46 +0200
committerMiklos Vajna <vmiklos@frugalware.org>2008-04-04 16:19:46 +0200
commitd24b73fdab7c4892c93e1f75a094b0f7ebaf97d3 (patch)
tree9a0ab1de5a2273a243500c92b93e055a9d7b5516
parent483430791a6b81871730258ca42d058c3989f942 (diff)
skype_read_callback(): handle SKYPEOUT nicks as offline as well
- you can chat with them and you can stil call them without spamming the user list
-rw-r--r--skype/skype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/skype/skype.c b/skype/skype.c
index 7a677e86..497d1590 100644
--- a/skype/skype.c
+++ b/skype/skype.c
@@ -322,7 +322,7 @@ static gboolean skype_read_callback( gpointer data, gint fd, b_input_condition c
{
ptr = g_strdup_printf("%s@skype.com", user);
imcb_add_buddy(ic, ptr, NULL);
- if(strcmp(status, "OFFLINE") != 0)
+ if(strcmp(status, "OFFLINE") != 0 && strcmp(status, "SKYPEOUT") != 0)
flags |= OPT_LOGGED_IN;
if(strcmp(status, "ONLINE") != 0 && strcmp(status, "SKYPEME") != 0)
flags |= OPT_AWAY;