Beispiel #1
0
 def register_servlets(self, hs):
     send_event.register_servlets(hs, self)
     membership.register_servlets(hs, self)
     federation.register_servlets(hs, self)
     login.register_servlets(hs, self)
     register.register_servlets(hs, self)
     devices.register_servlets(hs, self)
Beispiel #2
0
    def register_servlets(self, hs):
        send_event.register_servlets(hs, self)
        federation.register_servlets(hs, self)
        presence.register_servlets(hs, self)
        membership.register_servlets(hs, self)

        # The following can't currently be instantiated on workers.
        if hs.config.worker.worker_app is None:
            login.register_servlets(hs, self)
            register.register_servlets(hs, self)
            devices.register_servlets(hs, self)
            streams.register_servlets(hs, self)
Beispiel #3
0
 def register_servlets(self, hs):
     send_event.register_servlets(hs, self)
     membership.register_servlets(hs, self)
Beispiel #4
0
 def register_servlets(self, hs):
     send_event.register_servlets(hs, self)
     membership.register_servlets(hs, self)
Beispiel #5
0
 def register_servlets(self, hs):
     send_event.register_servlets(hs, self)
     membership.register_servlets(hs, self)
     federation.register_servlets(hs, self)
     login.register_servlets(hs, self)
     register.register_servlets(hs, self)