Could you please read this piece of code from the current GTK frontend :
def __print_chat(self, nick, msg, sender):
html = '<div>'
if (self.last_sender != sender):
html += '<span style="%s">%s</span><br/>' % (self.nickstyle,
html += '<span style="%s">[%s] %s</span></div>' % (self.msgstyle,
The frontend checks by itself if the last sender is the sender of this message and decides by itself not to show the nickname. I think it doesn't match with the "dumb front end" we want, does it ?
Shouldn't we change this ?
EDIT : I wonder if it wouldn't be better to create a chatview that the core will manage. It will then send a whole HTML page of the current chat to the frontend instead of sending only the message. Or would it be less efficient since it would pass the whole page every time ? What do you think ?