Mercurial > pidgin.yaz
comparison src/protocols/zephyr/zephyr.c @ 9917:e74eb0d11f86
[gaim-migrate @ 10809]
view chat logs curtesy of datallah
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Tue, 31 Aug 2004 01:45:12 +0000 |
parents | f6a1054e2bdc |
children | b76915608068 |
comparison
equal
deleted
inserted
replaced
9916:4d17a945aab3 | 9917:e74eb0d11f86 |
---|---|
2178 gchar* subscribe_failed = g_strdup_printf(_("Attempt to subscribe to %s,%s,%s failed"), z_class, z_instance,z_recipient); | 2178 gchar* subscribe_failed = g_strdup_printf(_("Attempt to subscribe to %s,%s,%s failed"), z_class, z_instance,z_recipient); |
2179 gaim_notify_error(gc,"", subscribe_failed, NULL); | 2179 gaim_notify_error(gc,"", subscribe_failed, NULL); |
2180 g_free(subscribe_failed); | 2180 g_free(subscribe_failed); |
2181 } | 2181 } |
2182 | 2182 |
2183 static char *zephyr_get_chat_name(GaimConnection *gc, GHashTable *data) { | |
2184 /** XXX someone who uses zephyr should verify this */ | |
2185 return g_strdup(g_hash_table_lookup(data, "recipient")); | |
2186 } | |
2187 | |
2183 static void zephyr_join_chat(GaimConnection * gc, GHashTable * data) | 2188 static void zephyr_join_chat(GaimConnection * gc, GHashTable * data) |
2184 { | 2189 { |
2185 /* ZSubscription_t sub; */ | 2190 /* ZSubscription_t sub; */ |
2186 zephyr_triple *zt1, *zt2; | 2191 zephyr_triple *zt1, *zt2; |
2187 const char *classname; | 2192 const char *classname; |
2664 zephyr_remove_deny, /* remove_deny */ | 2669 zephyr_remove_deny, /* remove_deny */ |
2665 zephyr_set_permit_deny, /* set_permit_deny */ | 2670 zephyr_set_permit_deny, /* set_permit_deny */ |
2666 NULL, /* warn -- not supported in zephyr */ | 2671 NULL, /* warn -- not supported in zephyr */ |
2667 zephyr_join_chat, /* join_chat */ | 2672 zephyr_join_chat, /* join_chat */ |
2668 NULL, /* reject_chat -- No chat invites*/ | 2673 NULL, /* reject_chat -- No chat invites*/ |
2674 zephyr_get_chat_name, /* get_chat_name */ | |
2669 NULL, /* chat_invite -- No chat invites*/ | 2675 NULL, /* chat_invite -- No chat invites*/ |
2670 zephyr_chat_leave, /* chat_leave */ | 2676 zephyr_chat_leave, /* chat_leave */ |
2671 NULL, /* chat_whisper -- No "whispering"*/ | 2677 NULL, /* chat_whisper -- No "whispering"*/ |
2672 zephyr_chat_send, /* chat_send */ | 2678 zephyr_chat_send, /* chat_send */ |
2673 NULL, /* keepalive -- Not necessary*/ | 2679 NULL, /* keepalive -- Not necessary*/ |