# HG changeset patch # User Mikael Berthe # Date 1197320654 -3600 # Node ID 8f9928839a3641dd866bc6d89c92e1dbda090767 # Parent d431cd75eb53f555bc73cd11e660c2533690fb9f Automatically unlock new rooms (suggested by Michael Weiser) The user cannot configure a newly created room at the moment, so let's unlock the room automatically. diff -r d431cd75eb53 -r 8f9928839a36 mcabber/src/jabglue.c --- a/mcabber/src/jabglue.c Mon Dec 10 21:45:24 2007 +0100 +++ b/mcabber/src/jabglue.c Mon Dec 10 22:04:14 2007 +0100 @@ -2207,6 +2207,10 @@ printstatus = status_default; } + // A new room has been created; accept MUC default config + if (statuscode == 201) + jb_room_unlock(roomjid); + // Check for nickname change if (statuscode == 303 && mbnick) { mbuf = g_strdup_printf("%s is now known as %s", rname, mbnick);