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
|
|
@ -30,6 +30,7 @@ class QuickChat():
|
|||
self.target = target
|
||||
self.host = host
|
||||
self.type = type
|
||||
self.nick = None
|
||||
|
||||
def setType(self, type):
|
||||
"""Set the type of the chat
|
||||
|
|
@ -37,6 +38,10 @@ class QuickChat():
|
|||
"""
|
||||
self.type = type
|
||||
|
||||
def setUserNick(self, nick):
|
||||
"""Set the nick of the user, usefull for e.g. change the color of the user"""
|
||||
self.nick = nick
|
||||
|
||||
def historyPrint(self, size=20, keep_last=False, profile='@NONE@'):
|
||||
"""Print the initial history"""
|
||||
debug (_("now we print history"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue