mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
Link: cache identity
This commit is contained in:
parent
08bfb84183
commit
dea535dd17
1 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@ class Link:
|
||||||
self.user=user
|
self.user=user
|
||||||
self.group=group
|
self.group=group
|
||||||
self.data=data
|
self.data=data
|
||||||
|
self.identity_string = self.network.name+":"+self.user.nick
|
||||||
self.batch_message = None
|
self.batch_message = None
|
||||||
self.batch_message_private = None
|
self.batch_message_private = None
|
||||||
|
|
||||||
|
@ -24,7 +25,7 @@ class Link:
|
||||||
return '<link: network %s, user %s, group %s, data %s>' % (str(self.network),str(self.user),str(self.group),str(self.data))
|
return '<link: network %s, user %s, group %s, data %s>' % (str(self.network),str(self.user),str(self.group),str(self.data))
|
||||||
|
|
||||||
def identity(self):
|
def identity(self):
|
||||||
return self.network.name+":"+self.user.nick
|
return self.identity_string
|
||||||
|
|
||||||
def send(self,msg):
|
def send(self,msg):
|
||||||
if self.batch_message != None:
|
if self.batch_message != None:
|
||||||
|
|
Loading…
Reference in a new issue