changeset 1431:486809ccffc0

Let /del remove a MUC entry from the roster (Only users and agents were allowed.) Reported by didier69.
author Mikael Berthe <mikael@lilotux.net>
date Fri, 22 Feb 2008 13:27:51 +0100
parents 12847b0ea8c9
children 46e5eb9917bc
files mcabber/src/roster.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/roster.c	Wed Feb 20 21:26:54 2008 +0100
+++ b/mcabber/src/roster.c	Fri Feb 22 13:27:51 2008 +0100
@@ -434,7 +434,8 @@
   roster *roster_usr;
   GSList *node;
 
-  sl_user = roster_find(jid, jidsearch, ROSTER_TYPE_USER|ROSTER_TYPE_AGENT);
+  sl_user = roster_find(jid, jidsearch,
+                        ROSTER_TYPE_USER|ROSTER_TYPE_AGENT|ROSTER_TYPE_ROOM);
   if (sl_user == NULL)
     return;
   roster_usr = (roster*)sl_user->data;