Adium showing HTML tags on ICQ

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
jessh
Harmless
Posts: 4
Joined: Wed Jan 17, 2007 9:43 pm
Contact:

Adium showing HTML tags on ICQ

Post by jessh »

Hi

When a contact is logged into iChat with an ICQ number, HTML tags get displayed.

Is there a fix? Or is this a bug?

Thanks
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

It's a bug -- an iChat bug, specifically.

---
Developer note:

Code: Select all

		if (([decryptedIncomingMessage rangeOfString:@"ichatballooncolor"].location != NSNotFound) ||
			([decryptedIncomingMessage rangeOfString:@"<HTML>"
											 options:(NSCaseInsensitiveSearch | NSLiteralSearch | NSAnchoredSearch)].location != NSNotFound) ||
is the code from the joscar plugin which worked around this stupidity, with a comment of

Code: Select all

			/* iChat ICQ contacts still send HTML. Decode it.
			 * Some ICQ clients send HTML anyways; the first part of the incoming message will be <HTML>. Decode it.
This needs to be made into a Trac ticket when Trac is back up - be a good 1.0.1 bugfix to use itin the oscar gaim service plugin; I don't want to add it to 1.0 at this stage in the game.
The duck still burns.
--
My company: Saltatory Software. Check it out :)
jessh
Harmless
Posts: 4
Joined: Wed Jan 17, 2007 9:43 pm
Contact:

Post by jessh »

Thanks

It only seems to happen with ICQ users on iChat, .Mac contacts seem fine (could be different versions of iChat though).

I notice iChat makes no mention of ICQ, but seems to work OK when entering it as AIM settings.

Is this down to a difference in protocols?
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

Basically, ya. ICQ, I believe, is text only. Whereas AIM uses something we've coined as ghettohtml.
Post Reply