Bug 143377

Summary: please never notify users that "You are not allowed to add yourself to the contact list."...
Product: [Unmaintained] kopete Reporter: Jason Spiro <jasonspiro4>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Proof-of-concept patch to change the error dialog box to a printf

Description Jason Spiro 2007-03-23 06:26:09 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages

Please do not show users the message "You are not allowed to add yourself to the contact list."... at startup.  Either echo the message to stdout, or log the message to some debug logging system (e.g. syslog with priority "user"), or do not show it at all.

Even if you don't fix Bug 133621 (Inability to add self to contact list) or Bug 66249 (Jabber has no "self-contact" with different resources and multiple logins) please at least don't show users a message box.  Messages shown repeatedly at every startup get very annoying.
Comment 1 Matt Rogers 2007-06-09 07:44:54 UTC

*** This bug has been marked as a duplicate of 133621 ***
Comment 2 Jason Spiro 2007-06-22 22:10:40 UTC
Bug 133621 says "let me do thing X".  This bug is different: it says "don't show an error dialog box when I try to do thing X".  (I am annoyed because Kopete shows me the error dialog every time I launch it.)

Reopening.  I will attach a tiny patch I made against good old kdenetwork-3.5.4.  Note:  I have not tested the patch; also, I removed the call to the i18n() function because I do not know how to use it properly.  Consider the patch a proof-of-concept.  :)
Comment 3 Jason Spiro 2007-06-22 22:11:44 UTC
Created attachment 20932 [details]
Proof-of-concept patch to change the error dialog box to a printf

Attaching patch.
Comment 4 Matt Rogers 2007-06-23 03:22:24 UTC
A patch to remove the message box won't work for general use, I'm afraid. Then we get bugs like "My own contact does not show up in my kopete contact list". Fixing 133621 resolves this bug as well, hence they're duplicated. We're already in the process of fixing this. You can workaround this bug by using another client to remove yourself from your contact list for the time being.

*** This bug has been marked as a duplicate of 133621 ***