You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, April 26th 2007, 10:03pm

[Kopete\ How to disable messages from people are not in my Contact s List

Hi All,

spam grinded me. This is as natural disaster!

Anybody knows how i can disable receiving messages from bots and people that are not in my contact list? i use Kopete 0.12.4. Maybe some plugin?

2

Saturday, April 28th 2007, 1:09pm

depends on the protocol you use.
AFAIK for ICQ, this is not yet implemented.
Help mee om KDE 3.5.5 in het Nederlands te vertalen

bongwater

Beginner

Posts: 4

Location: TX, USA

Occupation: Engineer

  • Send private message

3

Tuesday, May 1st 2007, 8:07pm

Good question, too bad it wasnt answered

The lack of an "Ignore messages from people NOT on your contact list" is one of the reasons I dropped Kopete for Gaim. The only reason I have returned to Kopete is for the webcam support.

Rinse, if Kopete has this option for the other protocols other than ICQ, then where is it because I can not find it.

Where is the ignore feature in Kopete for Yahoo, Aim, and MSN to prevent receiving messages from users NOT on your contact list?

Thanks.

This post has been edited 1 times, last edit by "bongwater" (May 1st 2007, 8:09pm)


bongwater

Beginner

Posts: 4

Location: TX, USA

Occupation: Engineer

  • Send private message

4

Wednesday, May 2nd 2007, 11:37pm

RE: [Kopete\ How to disable messages from people are not in my Contact s List

blackmorph,

This option will not be available until KDE version 4. After visiting #kopete on freenode and asking the question and being told it is a "lame" question and not needed I did some searching and found these two articles:

http://bugs.kde.org/show_bug.cgi?id=57234
http://bugs.kde.org/show_bug.cgi?id=63839

So hang tight, it's coming!

5

Tuesday, July 3rd 2007, 12:08pm

Having wasted few hours looking at ICQ flood/spam, I spent 30 minutes watching the code.
To make kopete ignore ICQ/oscar messages from users not in contact list, you need to patch
protocols/oscar/oscaraccount.cpp and re-compile it.

That will be not configurable, i.e. permanent change.

Patch follows:


--- oscaraccount.cpp.orig Mon Jan 15 14:23:51 2007
+++ oscaraccount.cpp Tue Jul 3 15:05:25 2007
@@ -388,8 +388,9 @@
QString sender = Oscar::normalize( message.sender() );
if ( !contacts()[sender] )
{
- kdDebug(OSCAR_RAW_DEBUG) << "Adding '" << sender << "' as temporary contact" << endl;
- addContact( sender, QString::null, 0, Kopete::Account::Temporary );
+// Violet: ignore messages from anybody not in contact list
+ kdDebug(OSCAR_RAW_DEBUG) << "Ignoring message from '" << sender << endl;
+ return;
}

OscarContact* ocSender = static_cast<OscarContact *> ( contacts()[sender] ); //should exist now

This post has been edited 1 times, last edit by "violet" (Jul 3rd 2007, 12:11pm)