mcabber/mcabber/xmpp.c
changeset 1895 7043542b3565
parent 1872 fe385f2cfb93
child 1896 c5ab9cf3819a
--- a/mcabber/mcabber/xmpp.c	Sun Apr 11 19:49:52 2010 +0200
+++ b/mcabber/mcabber/xmpp.c	Sun Apr 11 20:02:16 2010 +0200
@@ -1153,6 +1153,7 @@
   // this is a regular message from an unsubscribed user.
   // System messages (from our server) are allowed.
   if (settings_opt_get_int("block_unsubscribed") &&
+      (roster_gettype(bjid) != ROSTER_TYPE_ROOM) &&
       !(roster_getsubscription(bjid) & sub_from) &&
       (type != LM_MESSAGE_SUB_TYPE_GROUPCHAT)) {
     char *sbjid = jidtodisp(lm_connection_get_jid(lconnection));