Scheduler waits too longer, and pubsubstate registration was backwards

This commit is contained in:
Nathan Fritz
2010-05-31 03:36:25 -07:00
parent cff3079a04
commit 82a3918aa4
3 changed files with 6 additions and 3 deletions

View File

@@ -40,8 +40,8 @@ class PubsubStateEvent(ElementBase):
plugin_attrib_map = {}
plugin_tag_map = {}
stanzaPlugin(Message, PubsubState)
stanzaPlugin(PubsubState, PubsubStateEvent)
stanzaPlugin(Message, PubsubStateEvent)
stanzaPlugin(PubsubStateEvent, PubsubState)
class Pubsub(ElementBase):
namespace = 'http://jabber.org/protocol/pubsub'