Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0249.py @ 588:beaf6bec2fcd
Remove every old-style class.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:55:35 +0100 |
parents | 952322b1d490 |
children | e629371a28d3 |
comparison
equal
deleted
inserted
replaced
587:952322b1d490 | 588:beaf6bec2fcd |
---|---|
47 "main": "XEP_0249", | 47 "main": "XEP_0249", |
48 "handler": "yes", | 48 "handler": "yes", |
49 "description": _("""Implementation of Direct MUC Invitations""") | 49 "description": _("""Implementation of Direct MUC Invitations""") |
50 } | 50 } |
51 | 51 |
52 class XEP_0249(): | 52 class XEP_0249(object): |
53 | 53 |
54 def __init__(self, host): | 54 def __init__(self, host): |
55 info(_("Plugin XEP_0249 initialization")) | 55 info(_("Plugin XEP_0249 initialization")) |
56 self.host = host | 56 self.host = host |
57 host.bridge.addMethod("inviteMUC", ".plugin", in_sign='sssa{ss}s', out_sign='', method=self._invite) | 57 host.bridge.addMethod("inviteMUC", ".plugin", in_sign='sssa{ss}s', out_sign='', method=self._invite) |