Changeset 8668 for branches/gajim_0.11.1/src/common
- Timestamp:
- 08/31/07 10:59:52 (15 months ago)
- Location:
- branches/gajim_0.11.1/src/common
- Files:
-
- 2 modified
-
connection_handlers.py (modified) (1 diff)
-
connection.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/gajim_0.11.1/src/common/connection_handlers.py
r8661 r8668 1867 1867 if not node: 1868 1868 return 1869 dic = self.parse_data_form(node) 1870 self.dispatch('GC_CONFIG', (helpers.get_full_jid_from_iq(iq_obj), dic)) 1869 self.dispatch('GC_CONFIG', (helpers.get_full_jid_from_iq(iq_obj), node)) 1871 1870 1872 1871 def _MucAdminCB(self, con, iq_obj): -
branches/gajim_0.11.1/src/common/connection.py
r8642 r8668 1149 1149 self.connection.send(iq) 1150 1150 1151 def send_gc_config(self, room_jid, config):1151 def send_gc_config(self, room_jid, form): 1152 1152 iq = common.xmpp.Iq(typ = 'set', to = room_jid, queryNS =\ 1153 1153 common.xmpp.NS_MUC_OWNER) 1154 1154 query = iq.getTag('query') 1155 self.build_data_from_dict(query, config) 1155 form.setAttr('type', 'submit') 1156 query.addChild(node = form) 1156 1157 self.connection.send(iq) 1157 1158
