Mercurial > pidgin.yaz
diff src/protocols/yahoo/yahoochat.c @ 9768:ea1f457b7fef
[gaim-migrate @ 10636]
(20:06:38) noif: LSchiere: here's a small addition to my chat-info-deafults
patch you applied yesterday... as marv pointed out, I forgot yahoo
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Tue, 17 Aug 2004 00:15:22 +0000 |
parents | db62420a53a2 |
children | 06e730382bbe |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoochat.c Mon Aug 16 21:52:52 2004 +0000 +++ b/src/protocols/yahoo/yahoochat.c Tue Aug 17 00:15:22 2004 +0000 @@ -1005,6 +1005,18 @@ return m; } +GHashTable *yahoo_c_info_defaults(GaimConnection *gc, const char *chat_name) +{ + GHashTable *defaults; + + defaults = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, g_free); + + if (chat_name != NULL) + g_hash_table_insert(defaults, "room", g_strdup(chat_name)); + + return defaults; +} + void yahoo_c_join(GaimConnection *gc, GHashTable *data) { struct yahoo_data *yd;