Skip Menu |

This queue is for tickets about the Net-OSCAR CPAN distribution.

Report information
The Basics
Id: 8103
Status: resolved
Priority: 0/
Queue: Net-OSCAR

People
Owner: Nobody in particular
Requestors: perl [...] an.kiev.ua
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.907
Fixed in: (no value)



Subject: max message size
Would be nice to mention in documentation that maximal message size is 2544 bytes (at least I have such results from experiment). Also would be nice to have some option to tructate message automatically if it exceeds this limit (now the message is just lost). Thanks!
From the documentation of the send_im method: Show quoted text
> If the message was too long to send, returns zero.
"too long" is >2000 for AIM (7987 for ICQ.) Currently, we have a couple of limits like that hardcoded into the source and we don't give a way for the programmer to access them. Something I'm going to do, probably in the near future, is get the actual values of those limits (max IM length and maximum number of buddies are the big ones) from the data the server sends and provide a way to retrieve them.