Mercurial > pidgin
comparison src/server.c @ 9933:cee849d17167
[gaim-migrate @ 10825]
Another patch from Dave West. This makes the file transfer message
show up when someone sends you an AIM file transfer. It also attempts
to decode the message to UTF-8. The chat invitation messages also
benefit from this attempted conversion.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Thu, 02 Sep 2004 03:46:53 +0000 |
| parents | fb08a0973b3e |
| children | e4a27c9aec4c |
comparison
equal
deleted
inserted
replaced
| 9932:3fa121db91d0 | 9933:cee849d17167 |
|---|---|
| 1451 account = gaim_connection_get_account(gc); | 1451 account = gaim_connection_get_account(gc); |
| 1452 | 1452 |
| 1453 gaim_signal_emit(gaim_conversations_get_handle(), | 1453 gaim_signal_emit(gaim_conversations_get_handle(), |
| 1454 "chat-invited", account, who, name, message, data); | 1454 "chat-invited", account, who, name, message, data); |
| 1455 | 1455 |
| 1456 if (message) | 1456 if (message != NULL) |
| 1457 g_snprintf(buf2, sizeof(buf2), | 1457 g_snprintf(buf2, sizeof(buf2), |
| 1458 _("User '%s' invites %s to buddy chat room: '%s'\n%s"), | 1458 _("%s has invited %s to the chat room %s:\n<b>%s</b>"), |
| 1459 who, gaim_account_get_username(account), name, message); | 1459 who, gaim_account_get_username(account), name, message); |
| 1460 else | 1460 else |
| 1461 g_snprintf(buf2, sizeof(buf2), | 1461 g_snprintf(buf2, sizeof(buf2), |
| 1462 _("User '%s' invites %s to buddy chat room: '%s'\n"), | 1462 _("%s has invited %s to the chat room %s\n"), |
| 1463 who, gaim_account_get_username(account), name); | 1463 who, gaim_account_get_username(account), name); |
| 1464 | 1464 |
| 1465 cid->gc = gc; | 1465 cid->gc = gc; |
| 1466 cid->components = data; | 1466 cid->components = data; |
| 1467 | 1467 |
