Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

raelmax/mod_http_offline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

mod_http_offline

Ejabberd module to send a post if users was offline.

This module is based on Adam Duke mod_interact, Jason Rowe's post and a lot of pieces of code and tips from the web to adapts to work with Ejabber 14.12.

Installing

Clone this repository:

git clone git@github.com:raelmax/mod_http_offline.git

Change the '[your-url-here]' string in mod_http_offline.erl file.

To compile this I downloaded the code at my home directory and run:

	erlc -I /lib/ejabberd/include/ -pa ~/ejabberd/deps/lager/ebin/ mod_http_offline.erl

Move the .beam file to ejabberd ebin folder:

	sudo mv mod_http_offline.beam /lib/ejabberd/ebin/ 

Add "mod_http_offline" to your ejabberd.yml config at "modules" section:

    mod_http_offline: {}

Restart ejabberd! \o/

This is tested with ejabberd 14.12 and ubuntu server 14.04.

About

ejabberd module to send a post if users was offline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages