diff options
Diffstat (limited to 'src/user.py')
-rw-r--r-- | src/user.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/user.py b/src/user.py index 2cbe32d2..82d74193 100644 --- a/src/user.py +++ b/src/user.py @@ -36,11 +36,12 @@ class User(object): """ keep trace of an user in a Room """ - def __init__(self, nick, affiliation, show, status, role): + def __init__(self, nick, affiliation, show, status, role, jid): self.last_talked = datetime(1, 1, 1) # The oldest possible time self.update(affiliation, show, status, role) self.change_nick(nick) self.color = choice(theme.LIST_COLOR_NICKNAMES) + self.jid = jid def update(self, affiliation, show, status, role): self.affiliation = affiliation |