Mercurial > pidgin.yaz
changeset 1785:f4ae086c746b
[gaim-migrate @ 1795]
ha! i'm stupid.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 30 Apr 2001 21:49:07 +0000 |
parents | cf7806e63d0c |
children | e086beab7f5f |
files | src/gaim.h src/server.c |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gaim.h Mon Apr 30 19:09:22 2001 +0000 +++ b/src/gaim.h Mon Apr 30 21:49:07 2001 +0000 @@ -652,7 +652,7 @@ extern void serv_got_im(struct gaim_connection *, char *, char *, int, time_t); extern void serv_got_eviled(struct gaim_connection *, char *, int); extern void serv_got_chat_invite(struct gaim_connection *, char *, int, char *, char *); -extern void serv_got_joined_chat(struct gaim_connection *, int, char *); +extern struct conversation *serv_got_joined_chat(struct gaim_connection *, int, char *); extern void serv_got_chat_left(struct gaim_connection *, int); extern void serv_got_chat_in(struct gaim_connection *, int, char *, int, char *, time_t);
--- a/src/server.c Mon Apr 30 19:09:22 2001 +0000 +++ b/src/server.c Mon Apr 30 21:49:07 2001 +0000 @@ -524,7 +524,7 @@ struct queued_message *qm; qm = g_new0(struct queued_message, 1); g_snprintf(qm->name, sizeof(qm->name), "%s", name); - qm->message = g_strdup(message); + qm->message = g_strdup(away_subs(tmpmsg, alias)); qm->gc = gc; qm->tm = mtime; qm->flags = WFLAG_SEND | WFLAG_AUTO; @@ -781,7 +781,7 @@ gtk_widget_show(d); } -void serv_got_joined_chat(struct gaim_connection *gc, int id, char *name) +struct conversation *serv_got_joined_chat(struct gaim_connection *gc, int id, char *name) { struct conversation *b; @@ -821,6 +821,8 @@ } show_new_buddy_chat(b); + + return b; } void serv_got_chat_left(struct gaim_connection *g, int id)