Aaron van Meerten
22e9dc9893
Handles async context for all poltergeists
...
set up async context for all poltergeist calls
utils lib now has async wrapper for event handlers
2017-07-20 15:56:45 -05:00
damencho
8047fdf5a2
Makes possible for poltergeist to set status just before leaving.
2017-07-20 14:16:42 -05:00
damencho
2c873e8c7f
Adds token verification for poltergeist accepted rest calls.
2017-07-20 13:56:55 -05:00
damencho
284b5f94b5
Adds initial status param when creating poltergeist.
2017-07-20 13:29:54 -05:00
damencho
f40faecfbe
Fixes using correct field for domain in multidomain mode.
2017-07-19 11:36:49 -05:00
damencho
4a9a8eec9a
Send poltergeist presence update reusing previous presences.
...
If we do not reuse previous presences we lose avatar and name and people joining after the poltergeist creation will not be updated with those values.
2017-07-18 13:08:18 -05:00
damencho
308360fbe0
Cleans poltergeists table on remove occupant and when muc is destroyed.
2017-07-18 11:11:14 -05:00
damencho
e6840981ca
Handles removing poltergeists.
...
Adds http method to remove poltergeists. Adds configurable timeout after which poltergeists automatically are removed from the room.
2017-07-17 19:29:00 -05:00
damencho
64bb5563bc
Returns error when there is no query, but params expected.
2017-07-17 17:38:29 -05:00
damencho
0cffbdb967
Fixes wrong parameter name.
2017-07-17 17:26:47 -05:00
damencho
58d06fe7e6
A poltergeist module.
...
Thanks to Matthew Wild for the initial help of creating these.
Module with REST interface to create poltergeist participants and change their statuses.
When user with same id joins the room, the poltergeist is removed. We also make sure that that user uses same username when authenticates. This way we are sure that user will join the room with the same nick as the poltergeist.
2017-07-14 22:18:23 -05:00