cleartext / ximpp-server

Cleartext ESM - MIcroblogging
3 stars 0 forks source link

Add a setting in config to limit length of a tweet #51

Closed cleartext closed 14 years ago

cleartext commented 14 years ago

Set the default at 140 characters.

If a tweet is too long then send the user the following error message;

[ERROR] Your message is longer than 140 characters (5464 chars). Your message has not been posted.

svetlyak40wt commented 14 years ago

Added optional config option max_tweet_length for 'component' section. By default there is no any limit.