Bug 111799

Summary: d-bus call to message a contact by their nickname
Product: [Unmaintained] kopete Reporter: benjamin weber <benji.weber>
Component: DBusAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: adds messagecontactbynick dcop call
same thing in kopeteiface

Description benjamin weber 2005-08-31 03:19:57 UTC
Version:           0.10.91 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.3.5 
OS:                Linux

The messageContact DCOP call requires the id of the contact you wish to message. This is useful since it is unique. However it would often be useful to message a contact by their nickname/name in the contact list.

For example from the notifications system it is only possible (afaik) to get the nick of the incoming message so to autorespond/pounce on someone you need to be able to reply by the nickname. I've been using it for various things for a few weeks and there are other reasons i've found it useful but can't think of them right now.
Comment 1 benjamin weber 2005-08-31 03:22:03 UTC
Created attachment 12430 [details]
adds messagecontactbynick dcop call

This works for me, however I have no idea what i'm doing.
Comment 2 Olivier Goffart 2005-08-31 11:22:38 UTC
Hi, thanks for the patch.

But you can't modify the Kimiface like that. This call is too Kopete specific while kimiface is the interface common which all IM client.

You better should add it in the KopeteIFace.

Also, nickname and displayName are two different things.
You used findMetaContactByDisplayName,  so you should call your function  messageContactByDisplayName
Comment 3 benjamin weber 2005-08-31 20:28:54 UTC
Created attachment 12439 [details]
same thing in kopeteiface

perhaps something like this?
Comment 4 Christoph Cullmann 2024-09-18 18:27:40 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.