comparison src/plugins/plugin_xep_0045.py @ 1135:3158f9e08760

plugin OTR: a warning is logged when Account is instancied with a bare jid.
author Goffi <goffi@goffi.org>
date Mon, 25 Aug 2014 21:32:23 +0200
parents ad4ec8d9235e
children 96fb74a4714d
comparison
equal deleted inserted replaced
1134:8def4a3f55c2 1135:3158f9e08760
218 d.addCallback(lambda xmlui: xmlui.toXml()) 218 d.addCallback(lambda xmlui: xmlui.toXml())
219 return d 219 return d
220 220
221 def _configureRoomMenu(self, menu_data, profile): 221 def _configureRoomMenu(self, menu_data, profile):
222 """Return room configuration form 222 """Return room configuration form
223
223 @param menu_data: %(menu_data)s 224 @param menu_data: %(menu_data)s
224 @param profile: %(doc_profile)s 225 @param profile: %(doc_profile)s
225
226 """ 226 """
227 try: 227 try:
228 room_jid = jid.JID(menu_data['room_jid']) 228 room_jid = jid.JID(menu_data['room_jid'])
229 except KeyError: 229 except KeyError:
230 log.error(_("room_jid key is not present !")) 230 log.error(_("room_jid key is not present !"))