# HG changeset patch # User Nathan Walp # Date 1067583191 0 # Node ID 08cef5988410e616bc90e388d602bbf324cab5af # Parent 9ab1987e5d8b72ea1c6bf0b775aa6f4de6b857e5 [gaim-migrate @ 7996] there isn't really whispering in jabber chats committer: Tailor Script diff -r 9ab1987e5d8b -r 08cef5988410 src/protocols/jabber/chat.c --- a/src/protocols/jabber/chat.c Fri Oct 31 06:14:58 2003 +0000 +++ b/src/protocols/jabber/chat.c Fri Oct 31 06:53:11 2003 +0000 @@ -138,22 +138,6 @@ g_free(room_jid); } -void jabber_chat_whisper(GaimConnection *gc, int id, const char *who, - const char *message) -{ - JabberStream *js = gc->proto_data; - JabberChat *chat; - char *full_jid; - - chat = jabber_chat_find_by_id(js, id); - - full_jid = g_strdup_printf("%s@%s/%s", chat->room, chat->server, who); - - jabber_message_send_im(gc, full_jid, message, 0); - - g_free(full_jid); -} - void jabber_chat_join(GaimConnection *gc, GHashTable *data) { JabberChat *chat; diff -r 9ab1987e5d8b -r 08cef5988410 src/protocols/jabber/chat.h --- a/src/protocols/jabber/chat.h Fri Oct 31 06:14:58 2003 +0000 +++ b/src/protocols/jabber/chat.h Fri Oct 31 06:53:11 2003 +0000 @@ -47,8 +47,6 @@ JabberChat *jabber_chat_find_by_id(JabberStream *js, int id); void jabber_chat_destroy(JabberChat *chat); gboolean jabber_chat_find_buddy(GaimConversation *conv, const char *name); -void jabber_chat_whisper(GaimConnection *gc, int id, const char *who, - const char *message); void jabber_chat_invite(GaimConnection *gc, int id, const char *message, const char *name); void jabber_chat_leave(GaimConnection *gc, int id); diff -r 9ab1987e5d8b -r 08cef5988410 src/protocols/jabber/jabber.c --- a/src/protocols/jabber/jabber.c Fri Oct 31 06:14:58 2003 +0000 +++ b/src/protocols/jabber/jabber.c Fri Oct 31 06:53:11 2003 +0000 @@ -1075,7 +1075,7 @@ jabber_chat_join, jabber_chat_invite, jabber_chat_leave, - jabber_chat_whisper, + NULL, jabber_message_send_chat, jabber_keepalive, jabber_register_account,