Character limitation in Spark IM by Openfire Code Changes

Hi,

We are using Spark IM for chat client with Openfire Chat server. I want to restrict users to send limited character by IM.

Checked in forum and articles but not able to find any such configuration. Please suggest if we can achieve this by code changes.

Thanks

You can create a custom plugin for Openfire, that makes use of a packet interceptor to intercept all messages. See Openfire: Plugin Developer Guide