Mercurial > pidgin
changeset 11565:2aa7d8dd61d7
[gaim-migrate @ 13831]
Default type of the outgoing messages is CHAT.
committer: Tailor Script <tailor@pidgin.im>
author | Bartoz Oler <bartosz@pidgin.im> |
---|---|
date | Thu, 22 Sep 2005 22:20:21 +0000 |
parents | 22bfbc2a5555 |
children | 7897207b522d |
files | src/protocols/gg/gg.c |
diffstat | 1 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/gg/gg.c Thu Sep 22 21:39:09 2005 +0000 +++ b/src/protocols/gg/gg.c Thu Sep 22 22:20:21 2005 +0000 @@ -295,6 +295,9 @@ } /* }}} */ +/* + */ +/* static void ggp_callback_register_account_cancel(GaimConnection *gc, GaimRequestFields *fields) {{{ */ static void ggp_callback_register_account_cancel(GaimConnection *gc, GaimRequestFields *fields) { GGPInfo *info = gc->proto_data; @@ -306,6 +309,7 @@ g_free(token); } +/* }}} */ /* ----- PUBLIC DIRECTORY SEARCH ---------------------------------------- */ @@ -1233,13 +1237,16 @@ if (strlen(msg) == 0) return 1; + gaim_debug_info("gg", "ggp_send_im: msg = %s\n", msg); tmp = charset_convert(msg, "UTF-8", "CP1250"); if (tmp != NULL && strlen(tmp) > 0) { - if (gg_send_message(info->session, GG_CLASS_MSG, ggp_str_to_uin(who), (unsigned char *)tmp) < 0) { + if (gg_send_message(info->session, GG_CLASS_CHAT, ggp_str_to_uin(who), + (unsigned char *)tmp) < 0) { return -1; } } + g_free(tmp); return 1; } @@ -1637,6 +1644,7 @@ }; /* }}} */ +/* static void gaim_gg_debug_handler(int level, const char * format, va_list args) {{{ */ static void gaim_gg_debug_handler(int level, const char * format, va_list args) { GaimDebugLevel gaim_level; char *msg = g_strdup_vprintf(format, args); @@ -1659,6 +1667,7 @@ gaim_debug(gaim_level, "gg", msg); g_free(msg); } +/* }}} */ /* */