[erlang-questions] Mongoose IM Documentation
Sun Feb 9 19:40:48 CET 2014
You may look at the code in "ejabberd_sm.erl" file, and specifically to this hook:
[From, To, Packet]);
Thus modules: mod_offline.erl and mod_offline_odbc.erl should get you started.
Hope it helps :-)
Le 7 févr. 2014 à 22:43, Kelly Wong <kjw0188@REDACTED> a écrit :
> Hi Michal,
> Thanks for the link. I'm trying to figure out what hooks I can set and when they're called. The end goal is to write a plugin that can send an Apple notification service message to a user who is not online. I was thinking I could write a plugin that intercepts messages to offline users. Is that the right way to go about things?
> Kelly Wong
> On Wed, Feb 5, 2014 at 11:18 PM, Michal Piotrowski <michal.piotrowski@REDACTED> wrote:
> Hello Kelly,
> There are some examples on our github: https://github.com/esl/MongooseIM.
> The default installation of MongooseIM works with mnesia as a database.
> What exactly do you need to know?
> BTW, the config file is in most cases compatible with the one in ejabberd 2.1.x.
> Best regards
> Michal Piotrowski
> On 05 Feb 2014, at 03:10, Kelly Wong <kjw0188@REDACTED> wrote:
>> I'm trying to setup Mongoose IM, but for the life of me can't find any documentation for it. Can anyone point me in the right direction?
>> Kelly Wong
>> erlang-questions mailing list
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions