Bug 68466 - Per-contact information is stored, but not displayed in history for contacts not on your contact list
Summary: Per-contact information is stored, but not displayed in history for contacts ...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kopete
Classification: Unmaintained
Component: History Plugin (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 97444 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-18 01:34 UTC by Casey Allen Shobe
Modified: 2024-09-18 18:28 UTC (History)
2 users (show)

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 Casey Allen Shobe 2003-11-18 01:34:50 UTC
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.
Comment 1 Olivier Goffart 2003-11-18 21:36:43 UTC
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.
Comment 2 Casey Allen Shobe 2003-11-18 21:44:15 UTC
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.
Comment 3 Jason Keirstead 2003-11-18 21:49:52 UTC
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.
Comment 4 Casey Allen Shobe 2003-12-29 02:11:20 UTC
I agree.  The IRC plugin should register temporary contacts as necessary as IRC does.
Comment 5 Olivier Goffart 2003-12-29 08:53:17 UTC
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.
Comment 6 Till Gerken 2004-07-23 13:19:39 UTC
Does this bug still persist?
Comment 7 Olivier Goffart 2004-07-23 23:57:39 UTC
Yes, and will probably never been solved.
The problem is that KopeteContact associated to theses contact are not anymore in kopete.
Comment 8 Olivier Goffart 2005-01-21 23:20:09 UTC
*** Bug 97444 has been marked as a duplicate of this bug. ***
Comment 9 Jason Keirstead 2005-01-22 02:12:49 UTC
This bug is easy to fix, just do as stated in comment #3, create temporary contacts for these cases.
Comment 10 Justin Zobel 2021-03-09 22:40:54 UTC
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.
Comment 11 Christoph Cullmann 2024-09-18 18:28:17 UTC
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.