diff mcabber/src/roster.c @ 489:21ab22a60bcb

Auto-convert a roster item to "room" type when receiving a groupchat message
author Mikael Berthe <mikael@lilotux.net>
date Fri, 07 Oct 2005 20:12:11 +0200
parents 4a10c04ac2fb
children 3f5aa4852684
line wrap: on
line diff
--- a/mcabber/src/roster.c	Fri Oct 07 19:15:26 2005 +0200
+++ b/mcabber/src/roster.c	Fri Oct 07 20:12:11 2005 +0200
@@ -798,6 +798,12 @@
   return (gpointer)((GSList*)roster_usr->list)->data;
 }
 
+void buddy_settype(gpointer rosterdata, guint type)
+{
+  roster *roster_usr = rosterdata;
+  roster_usr->type = type;
+}
+
 guint buddy_gettype(gpointer rosterdata)
 {
   roster *roster_usr = rosterdata;