don't send config when we don't have it
This commit is contained in:
parent
59e6377546
commit
4c8fb94601
|
@ -2032,7 +2032,9 @@ class GroupchatConfigWindow(DataFormWindow):
|
|||
|
||||
def on_ok_button_clicked(self, widget):
|
||||
# We pressed OK button of the DataFormWindow
|
||||
gajim.connections[self.account].send_gc_config(self.room_jid, self.config)
|
||||
if self.config:
|
||||
gajim.connections[self.account].send_gc_config(self.room_jid,
|
||||
self.config)
|
||||
for affiliation in ('outcast', 'member', 'owner', 'admin'):
|
||||
list = {}
|
||||
model = self.affiliation_treeview[affiliation].get_model()
|
||||
|
|
Loading…
Reference in New Issue