Page 1 of 1
Adium showing HTML tags on ICQ
Posted: Wed Jan 17, 2007 10:22 pm
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
Posted: Thu Jan 18, 2007 4:39 am
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.
Posted: Thu Jan 18, 2007 6:00 pm
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?
Posted: Thu Jan 18, 2007 6:26 pm
by The_Tick
Basically, ya. ICQ, I believe, is text only. Whereas AIM uses something we've coined as ghettohtml.