User.id doesn't exist anymore; it's User.get_id()

This commit is contained in:
jesopo 2018-09-19 00:45:01 +01:00
parent 11e62bb945
commit e6f25e31db

View file

@ -56,7 +56,7 @@ class Module(object):
def _identified(self, server, user, account):
user.identified_account_override = account
user.identified_account_id_override = server.get_user(account).id
user.identified_account_id_override = server.get_user(account).get_id()
def _logout(self, user):
user.identified_account_override = None