Version: (using KDE Devel) Installed from: Compiled sources I have the History plugin set to show the last 7 lines of history when opening a chat window. When I join an IRC channel, I see for example the following in the GUI: Message from #kopete (#kopete) 15:44:22 bittle Message from #kopete (#kopete) 15:44:27 -l Message from Stefan Gehn (mETz) 15:44:27 -l Message from Stefan Gehn (mETz) 15:44:28 =) Message from #kopete (#kopete) 15:44:54 aaaarh! Message from #kopete (#kopete) 15:45:03 why XServer not running correctly Message from #kopete (#kopete) 15:45:04 my touch typing reflexes are all english However the log files appear correct, showing: <msg nick="Bille_kopete" in="1" from="Bille_kopete" time="17 15:44:22" >bittle</msg> <msg nick="Bille_kopete" in="1" from="Bille_kopete" time="17 15:44:27" >-l</msg> <msg nick="mETz" in="1" from="mETz" time="17 15:44:27" >-l</msg> <msg nick="mETz" in="1" from="mETz" time="17 15:44:28" >=)</msg> <msg nick="ogoffart-away" in="1" from="Gof" time="17 15:44:54" >aaaarh!</msg> <msg nick="ogoffart-away" in="1" from="Gof" time="17 15:45:3" >why XServer not running correctly</msg> <msg nick="Bille_kopete" in="1" from="Bille_kopete" time="17 15:45:4" >my touch typing reflexes are all english</msg> As to why nick != from in the messages from Olivier, I can only guess that to be another bug.
I alreadu talked with Bille about that. The problem is that the history can't create the KopeteMessage <ith a contact which does not exits. And The history plugin is not competent to create itself new contacts.
Sounds like yet another argument for bug 66563. Or, use the contact names stored in the log file...I don't see why that's so hard just because they're not contacts on your list.
You can't just construct a KopeteMessage and pass it a string to use for a nickname, you have to pass it a KopeteContact. That said, there is no reason why the contacts the HistoryPlugin uses can not be temporary. It can create a temp. contact for each message to be appended to the window, using the display name in the log file. It can then delete these contacts after the messages are appended. Temporary contacts do not have to be added to the temporary contacts folder if they are used internally. For example, nearly all of IRC's contacts are temporary.
I agree. The IRC plugin should register temporary contacts as necessary as IRC does.
Anyway, currently, the history plugin have no way to ask the creation of any temporary contact at all. or maybe with KopeteAccount::addContact ... i've to look if it's possible.
Does this bug still persist?
Yes, and will probably never been solved. The problem is that KopeteContact associated to theses contact are not anymore in kopete.
*** Bug 97444 has been marked as a duplicate of this bug. ***
This bug is easy to fix, just do as stated in comment #3, create temporary contacts for these cases.
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
Dear user, unfortunately Kopete is no longer maintained. Please migrate to another solution, e.g. for Jabber a possibility is Kaidan, for Matrix a candidate is NeoChat.