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.
--- 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);