Move XEP-0004 to new system.
This commit is contained in:
		| @@ -6,6 +6,17 @@ | ||||
|     See the file LICENSE for copying permission. | ||||
| """ | ||||
|  | ||||
| from sleekxmpp.plugins.base import register_plugin | ||||
|  | ||||
| from sleekxmpp.plugins.xep_0004.stanza import Form | ||||
| from sleekxmpp.plugins.xep_0004.stanza import FormField, FieldOption | ||||
| from sleekxmpp.plugins.xep_0004.dataforms import xep_0004 | ||||
| from sleekxmpp.plugins.xep_0004.dataforms import XEP_0004 | ||||
|  | ||||
|  | ||||
| register_plugin(XEP_0004) | ||||
|  | ||||
|  | ||||
| # Retain some backwards compatibility | ||||
| xep_0004 = XEP_0004 | ||||
| xep_0004.makeForm = xep_0004.make_form | ||||
| xep_0004.buildForm = xep_0004.build_form | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lance Stout
					Lance Stout