Page 1 of 1

Long messages

Posted: Fri Oct 13, 2006 7:14 am
by bhound89
At least on AIM, there is a character limit on IMs. Is there an applescript that will segment long enough messages into separate IMs?

If not, how would I make one?

Posted: Fri Oct 13, 2006 6:26 pm
by dead phish head
you know, thats a really good idea. i'd like one too. :smile:

Posted: Fri Oct 13, 2006 7:02 pm
by The_Tick
I don't know that our applescript support could do this. A cocoa plugin probably could though.

Posted: Fri Oct 13, 2006 8:46 pm
by evands
This should really be handled by the Adium core; there's no reason, if we know for sure how long a message should be, to have to deal with this manually. That said, if you'd like to write an Adium plugin which handles it, I'd be interested in considering it for inclusion in Adium itself. Service plugins or accounts should report how long of messages they allow, and the plugin would run as a content filter early-on. Interaction with encryption is one potential problem which would need to be dealt with... an initial implementation could just ignore encryption, though, meaning that when using encryption the status-quo would be maintained.

Posted: Fri Oct 13, 2006 8:52 pm
by The_Tick
evands wrote:This should really be handled by the Adium core; there's no reason, if we know for sure how long a message should be, to have to deal with this manually. That said, if you'd like to write an Adium plugin which handles it, I'd be interested in considering it for inclusion in Adium itself. Service plugins or accounts should report how long of messages they allow, and the plugin would run as a content filter early-on. Interaction with encryption is one potential problem which would need to be dealt with... an initial implementation could just ignore encryption, though, meaning that when using encryption the status-quo would be maintained.
Hmm.. there's a reason we've knocked this down from being in the core before, maybe something about possible spammers?

That said, I don't really see it being the case of spamming. However, could we trigger rate limiting issues with something like this?

Posted: Fri Oct 13, 2006 8:57 pm
by Catfish_Man
The_Tick wrote:
That said, I don't really see it being the case of spamming. However, could we trigger rate limiting issues with something like this?
hm... I don't think so; we handle queueing messages to avoid rate limits transparently, at least in joscar. (it doesn't work 100% yet, but it will soon)

Posted: Fri Oct 13, 2006 9:20 pm
by The_Tick
Catfish_Man wrote:
The_Tick wrote:
That said, I don't really see it being the case of spamming. However, could we trigger rate limiting issues with something like this?
hm... I don't think so; we handle queueing messages to avoid rate limits transparently, at least in joscar. (it doesn't work 100% yet, but it will soon)
hmm, in that case.

We've gotten this request quite a bit in the past. I think we should definitely do it.