Hi,
I wrote a django_module and a django custom command to send offline messages to django.
It's currently in german but you should get the idea but looking at the code.
Have Fun
Best,
Henrik P. Hessel
To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
Hi,
I wrote a django_module and a django custom command to send offline messages to django.
It's currently in german but you should get the idea but looking at the code.
Have Fun
Best,
Henrik P. Hessel
Hi Henrik, I'm looking for an
Hi Henrik,
I'm looking for an expert to do a simple ejabberd customization project to do the following:
* Additionally call a command line shell script when encountering an offline-message
* Use MD5 Challenge for login authentication
* 2 other minor customizations
Would you be interested?
Thanks,
John.
Hi, I 'm trying to make a
Hi, I 'm trying to make a module which mimic sending offline message push to prowl, code is here :http://www.unsleeping.com/2010/07/31/prowl-module-for-ejabberd/ , I changed the original
The problem is that it could run well in Erlang bash with {ok, HTTP 200 OK...} but when I put that in module ( I registered the module { modules, [ ... { mod_offline_push, [] } ]} ) and always got error :
Could somebody shed me some light, why is it failed in module while it run well in bash :( ?
Don't use lists:keyfind
Don't use lists:keyfind because it was introduced in recent Erlang R13A, and probably you use an older Erlang version.
Solution: For example, if you have a line like this:
{Int, Level, Desc} = lists:keyfind(Level, 2, LOG_LEVELS),
replace it with a line like this:
{value, {Int, Level, Desc}} = lists:keysearch(Level, 2, LOG_LEVELS),