mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:26:09 -04:00
Log when ASes are registered/unregistered.
This commit is contained in:
parent
ec3719b583
commit
fbeaeb8689
2 changed files with 5 additions and 1 deletions
|
@ -51,6 +51,9 @@ class ApplicationService(object):
|
|||
|
||||
return True
|
||||
|
||||
def __str__(self):
|
||||
return "ApplicationService: %s" % (self.__dict__,)
|
||||
|
||||
|
||||
class ApplicationServiceCache(object):
|
||||
"""Caches ApplicationServices and provides utility functions on top.
|
||||
|
@ -83,7 +86,6 @@ class ApplicationServiceStore(SQLBaseStore):
|
|||
def __init__(self, hs):
|
||||
super(ApplicationServiceStore, self).__init__(hs)
|
||||
self.cache = ApplicationServiceCache()
|
||||
self.clock = hs.get_clock()
|
||||
self._populate_cache()
|
||||
|
||||
def unregister_app_service(self, token):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue