core: remove useless method (it's available directly in client)

This commit is contained in:
Goffi 2022-05-16 13:02:59 +02:00
commit d0973d121d

View file

@ -939,10 +939,6 @@ class SAT(service.Service):
return False
return self.profiles[profile].isConnected()
def isAdmin(self, client: xmpp.SatXMPPEntity) -> bool:
"""Tells if a client is an administrator with extra privileges"""
return client.profile in self.memory.admins
## Encryption ##
def registerEncryptionPlugin(self, *args, **kwargs):