Bug 177662 - nick names in history of group chat are not displayed
Summary: nick names in history of group chat are not displayed
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Unmaintained
Component: History Plugin (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-13 12:12 UTC by Daniel Laidig
Modified: 2009-01-31 10:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.