Hey,
We are developing a chat application that should have time restriction.
For example, a user can search for other users and add them. The user should be notified that someone else added him.
When the user accepts chat can begin between the two users but the chat should only be limited for 1 minute.
Is it possible to achieve the above with ejabberd?
Best,
Fouad
I can think a way to
I can think a way to implement this, but requires quite some work: write a Jabber robot that accepts messages like "search tom", or "search ann77", that anybody can send to him. Then the robot creates a new muc room, joins it, and invites both users. The robot takes care of time, when it has passed, it sends a warning to the room, and then destroys it.
The benefit of using a Jabber robot is that you can write it in any language that has a Jabber/XMPP client library, not only erlang. And you can use that robot with any Jabber server, not only ejabberd.