is it possible to create a “fake” user within a plugin?
Basically I want a user which is displayed as “online” to other users but which has no “physical” client.
I would like to register a user with the following id: email@example.com
He should be displayed as robot in a shared group roster. As soon as a user sends a message to robot, I want to intercept this message, so it’'s never delivered.
What I have accomplished so far with a plugin:
-intercept messenges (broadcast plugin)
-create users (via the usermanager)
What’'s missing is the step of “activating” them, so they appear as online. I tried to create a presence with the presenceManager but this seems not to be enough.
Is it possible to do that? Or am I wasting my time with trying something that’'s simply not doable because of the XMPP nature?