It'd be great if we could add a "Send a message to a XMPP user" Drupal action.

I've copy/pasted twitter_actions into xmpp_actions and now I just need to send the actual message. What's the best way to do this?

Cheers,
Yonas

CommentFileSizeAuthor
#3 xmpp_actions.zip2.93 KBfizk

Comments

darren.ferguson’s picture

Right now the xmpp framework is hooked into the messaging framework (we removed xmpp_messaging and put it in the messaging framework in 6.1 -> 6.2 versions).

So inside the messaging_xmpp module is how to send via xmpp. Or alternatively you can use the direct xmpp framework function in order to do this, there is a function for sending a message to a user and the type can be determined via this functon.

darren.ferguson’s picture

For the next branch we were looking at providing default actions in order send messages hence might look at merging the actions portion into the current framework that exists in future.

fizk’s picture

StatusFileSize
new2.93 KB

Here's the first working version