Mercurial > pidgin
comparison plugins/filectl.c @ 10246:a66cf83552dc
[gaim-migrate @ 11386]
I changed gaim_find_conversation and gaim_find_conversation_with_account
The first parameter is now one of GAIM_CONV_IM, GAIM_CONV_CHAT or
GAIM_CONV_ANY. Unfortunately, this changes a bajillion files.
Please look over this and make sure I use the correct type everywhere.
Especially in Novell and MSN, and somewhat in SILC.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 23 Nov 2004 06:14:15 +0000 |
parents | a9fb4493ae22 |
children | db39c909d467 |
comparison
equal
deleted
inserted
replaced
10245:c143a3fac58d | 10246:a66cf83552dc |
---|---|
87 free(arg1); | 87 free(arg1); |
88 } else if (!strncasecmp(command, "send", 4)) { | 88 } else if (!strncasecmp(command, "send", 4)) { |
89 GaimConversation *c; | 89 GaimConversation *c; |
90 arg1 = getarg(buffer, 1, 0); | 90 arg1 = getarg(buffer, 1, 0); |
91 arg2 = getarg(buffer, 2, 1); | 91 arg2 = getarg(buffer, 2, 1); |
92 c = gaim_find_conversation(arg1); | 92 c = gaim_find_conversation(GAIM_CONV_ANY, arg1); |
93 if (c) | 93 if (c) |
94 { | 94 { |
95 /* disable for now | 95 /* disable for now |
96 gaim_conversation_write(c, arg2, WFLAG_SEND, NULL, time(NULL), -1); | 96 gaim_conversation_write(c, arg2, WFLAG_SEND, NULL, time(NULL), -1); |
97 serv_send_im(c->gc, arg1, arg2, 0); | 97 serv_send_im(c->gc, arg1, arg2, 0); |