| 1210 | | # use default configuration |
| 1211 | | gajim.connections[account].send_gc_config(room_jid, array[1]) |
| | 1211 | if gajim.automatic_rooms[account][room_jid].has_key('continue_tag'): |
| | 1212 | # We're converting chat to muc. allow participants to invite |
| | 1213 | form = dataforms.ExtendForm(node = array[1]) |
| | 1214 | for f in form.iter_fields(): |
| | 1215 | if f.var == 'muc#roomconfig_allowinvites': |
| | 1216 | f.value = True |
| | 1217 | gajim.connections[account].send_gc_config(room_jid, form) |
| | 1218 | else: |
| | 1219 | # use default configuration |
| | 1220 | gajim.connections[account].send_gc_config(room_jid, array[1]) |