Mercurial > pidgin.yaz
changeset 7400:08cef5988410
[gaim-migrate @ 7996]
there isn't really whispering in jabber chats
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 31 Oct 2003 06:53:11 +0000 |
parents | 9ab1987e5d8b |
children | aaf91a891cd9 |
files | src/protocols/jabber/chat.c src/protocols/jabber/chat.h src/protocols/jabber/jabber.c |
diffstat | 3 files changed, 1 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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);
--- 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,