aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-03-22 19:22:41 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2006-03-22 19:22:41 +0100
commit9b8a38bfa9a89e9741521ac522927c80b68976cf (patch)
treee139729b5f6fa7fe1e73106aa147c1552d9c507c
parentaa5ac01a7ed0808a981cabf81b91a3e6a2ee1c9a (diff)
Buddy group data is now stored in the user_t structure.
-rw-r--r--protocols/nogaim.c1
-rw-r--r--user.h1
2 files changed, 2 insertions, 0 deletions
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;