core: remove useless method (it's available directly in client)
This commit is contained in:
parent
f4fa679e9c
commit
d0973d121d
1 changed files with 0 additions and 4 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue