extends chat message commands system
i made for my own use a simple plugin system for exchange chat messages commands - in current version it only check if user type a known "/command" and execute it.
Current version supports only one command ;) - "/ujeb url":
- catching url
- sending it to http://ujeb.pl site
- replace message string with shortcuted url
- inform sender about success
In attachement is current version of plugin class and metod for ChatControl class - method should be runned inside "send_message" method before sending message to chat control ;).
Im planing to extend some more command but i think maybe someone from devs can implement such a "plugin system" inside gajim ;)