| 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 |