Bug 111799 - d-bus call to message a contact by their nickname
Summary: d-bus call to message a contact by their nickname
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kopete
Classification: Unmaintained
Component: DBus (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-31 03:19 UTC by benjamin weber
Modified: 2024-09-18 18:27 UTC (History)
0 users

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


Attachments
adds messagecontactbynick dcop call (2.14 KB, patch)
2005-08-31 03:22 UTC, benjamin weber
Details
same thing in kopeteiface (3.49 KB, patch)
2005-08-31 20:28 UTC, benjamin weber
Details

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