Mercurial > pidgin
diff libpurple/protocols/jabber/buddy.c @ 26932:a8537bbcfb79
Remove trailing whitespace that has snuck in.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 22 May 2009 03:54:29 +0000 |
parents | 56460ebd1558 |
children | bc2aa262a567 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c Fri May 22 03:48:19 2009 +0000 +++ b/libpurple/protocols/jabber/buddy.c Fri May 22 03:54:29 2009 +0000 @@ -1044,14 +1044,14 @@ if (!jbi->jb->resources) { /* the buddy is offline */ - gchar *status = - g_strdup_printf("%s%s%s", _("Offline"), + gchar *status = + g_strdup_printf("%s%s%s", _("Offline"), jbi->last_message ? ": " : "", jbi->last_message ? jbi->last_message : ""); if (jbi->last_seconds > 0) { char *last = purple_str_seconds_to_string(jbi->last_seconds); gchar *message = g_strdup_printf(_("%s ago"), last); - purple_notify_user_info_prepend_pair(user_info, + purple_notify_user_info_prepend_pair(user_info, _("Logged off"), message); g_free(last); g_free(message); @@ -1471,8 +1471,8 @@ jbir->idle_seconds = sec; } } - /* Update the idle time of the buddy resource, if we got it. - This will correct the value when a server doesn't mark + /* Update the idle time of the buddy resource, if we got it. + This will correct the value when a server doesn't mark delayed presence and we got the presence when signing on */ jb = jabber_buddy_find(js, from, FALSE); if (jb) { @@ -1493,9 +1493,9 @@ jbr->idle = 0; } - if (jbr == + if (jbr == jabber_buddy_find_resource(jb, NULL)) { - purple_prpl_got_user_idle(js->gc->account, + purple_prpl_got_user_idle(js->gc->account, buddy_name, jbr->idle, jbr->idle); } } @@ -1750,7 +1750,7 @@ jbi->ids = g_slist_prepend(jbi->ids, g_strdup(iq->id)); jabber_iq_send(iq); } - + js->pending_buddy_info_requests = g_slist_prepend(js->pending_buddy_info_requests, jbi); jbi->timeout_handle = purple_timeout_add_seconds(30, jabber_buddy_get_info_timeout, jbi); } @@ -2501,7 +2501,7 @@ if (node) purple_debug_info("jabber", "Found cap: %s\n", cap); else - purple_debug_info("jabber", "Cap %s not found\n", cap); + purple_debug_info("jabber", "Cap %s not found\n", cap); return (node != NULL); }