Change more user.id references to get_id()
This commit is contained in:
parent
fa18d5ca4c
commit
c4cedbe697
1 changed files with 2 additions and 2 deletions
|
@ -230,7 +230,7 @@ class LineHandler(object):
|
|||
if account:
|
||||
user.identified_account = account
|
||||
user.identified_account_id = event["server"].get_user(
|
||||
account).id
|
||||
account).get_id()
|
||||
if realname:
|
||||
user.realname = realname
|
||||
|
||||
|
@ -478,7 +478,7 @@ class LineHandler(object):
|
|||
if not event["args"][0] == "*":
|
||||
user.identified_account = event["args"][0]
|
||||
user.identified_account_id = event["server"].get_user(
|
||||
event["args"][0]).id
|
||||
event["args"][0]).get_id()
|
||||
self.events.on("received.account.login").call(user=user,
|
||||
server=event["server"], account=event["args"][0])
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue