Bug 177662

Summary: nick names in history of group chat are not displayed
Product: [Unmaintained] kopete Reporter: Daniel Laidig <laidig>
Component: History PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Laidig 2008-12-13 12:12:43 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

The history of a jabber groupchat is displayed incorrectly and thereby completely unusable. The problem is that nick names are not shown except for my own nick. Instead the name of the groupchat is displayed.

This appears in the history dialog:

20:19:18 room@conference.jabber.ccc.de 
some text
20:20:01 Dani 
some other text

This is the stored XML:
 <msg nick="someNick" in="1" from="room@conference.jabber.ccc.de/someNick" time="12 20:19:18" >some text</msg>
 <msg nick="Dani" in="0" from="room@conference.jabber.ccc.de/Dani" time="12 20:20:1" >some other text</msg>

So, apparently, all the information needed is available. It looks like kopete always uses the current nick of the contact (and in this case the groupchat is the contact) instead of the stored one. For instant messages between two people this works fine, but for a group chat this obviously fails.

Anyway, why not always use the stored nick name? It's supposed to be a history, anyway. ;)
Comment 1 Tomas Trnka 2009-01-31 10:23:37 UTC
Just tested with current trunk (r917794) and it works correctly, i.e. shows correct nicks and not the groupchat name.