Chat presentation enhancement
- core: message signal is not sent anymore for groupchat type, cause MUC chat server do it for us - wix: user nick can now be specified to chat windows, usefull for colorization - memory: full jid are now sent - wix: message from user are now in black for group chat
This commit is contained in:
parent
a9fc22c842
commit
4b10dd725e
1 changed files with 17 additions and 8 deletions
|
|
@ -489,7 +489,7 @@ class Memory:
|
|||
if not self.history[me_short].has_key(key):
|
||||
self.history[me_short][key]={}
|
||||
|
||||
self.history[me_short][key][int(time.time())] = (from_short, message)
|
||||
self.history[me_short][key][int(time.time())] = (from_jid.full(), message)
|
||||
|
||||
def getHistory(self, from_jid, to_jid, size):
|
||||
ret={}
|
||||
|
|
|
|||
Loading…
Reference in a new issue