From 9b8a38bfa9a89e9741521ac522927c80b68976cf Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 22 Mar 2006 19:22:41 +0100 Subject: Buddy group data is now stored in the user_t structure. --- protocols/nogaim.c | 1 + user.h | 1 + 2 files changed, 2 insertions(+) diff --git a/protocols/nogaim.c b/protocols/nogaim.c index f9ee8a55..28f76fff 100644 --- a/protocols/nogaim.c +++ b/protocols/nogaim.c @@ -525,6 +525,7 @@ void add_buddy( struct gaim_connection *gc, char *group, char *handle, char *rea u->gc = gc; u->handle = g_strdup( handle ); + if( group ) u->group = g_strdup( group ); u->send_handler = buddy_send_handler; u->last_typing_notice = 0; } diff --git a/user.h b/user.h index da657a4d..b8896d92 100644 --- a/user.h +++ b/user.h @@ -36,6 +36,7 @@ typedef struct __USER char online; char *handle; + char *group; struct gaim_connection *gc; char *sendbuf; -- cgit v1.2.3