Mercurial > pidgin
comparison libpurple/server.c @ 20453:69febfa6d307
propagate from branch 'im.pidgin.pidgin' (head d3e5a5add3f39caa08b46c83177328e51c2d961a)
to branch 'im.pidgin.cpw.khc.msnp14' (head a8f6c999b039b4097aa70cd8d2597f3127615435)
| author | Carlos Silva <typ0@pidgin.im> |
|---|---|
| date | Sat, 16 Jun 2007 04:00:32 +0000 |
| parents | 2754427b85ca |
| children | 7684084830c6 |
comparison
equal
deleted
inserted
replaced
| 20452:5c34a0a3c362 | 20453:69febfa6d307 |
|---|---|
| 90 GSList *tmp; | 90 GSList *tmp; |
| 91 struct last_auto_response *lar; | 91 struct last_auto_response *lar; |
| 92 | 92 |
| 93 /* because we're modifying or creating a lar, schedule the | 93 /* because we're modifying or creating a lar, schedule the |
| 94 * function to expire them as the pref dictates */ | 94 * function to expire them as the pref dictates */ |
| 95 purple_timeout_add((SECS_BEFORE_RESENDING_AUTORESPONSE + 1) * 1000, expire_last_auto_responses, NULL); | 95 purple_timeout_add_seconds((SECS_BEFORE_RESENDING_AUTORESPONSE + 1), expire_last_auto_responses, NULL); |
| 96 | 96 |
| 97 tmp = last_auto_responses; | 97 tmp = last_auto_responses; |
| 98 | 98 |
| 99 while (tmp) { | 99 while (tmp) { |
| 100 lar = (struct last_auto_response *)tmp->data; | 100 lar = (struct last_auto_response *)tmp->data; |
| 231 if (conv != NULL && alias != NULL && strcmp(alias, who)) | 231 if (conv != NULL && alias != NULL && strcmp(alias, who)) |
| 232 { | 232 { |
| 233 char *tmp = g_strdup_printf(_("%s is now known as %s.\n"), | 233 char *tmp = g_strdup_printf(_("%s is now known as %s.\n"), |
| 234 who, alias); | 234 who, alias); |
| 235 | 235 |
| 236 purple_conversation_write(conv, NULL, tmp, PURPLE_MESSAGE_SYSTEM, | 236 purple_conversation_write(conv, NULL, tmp, |
| 237 time(NULL)); | 237 PURPLE_MESSAGE_SYSTEM | PURPLE_MESSAGE_NO_LINKIFY, |
| 238 time(NULL)); | |
| 238 | 239 |
| 239 g_free(tmp); | 240 g_free(tmp); |
| 240 } | 241 } |
| 241 } | 242 } |
| 242 } | 243 } |
