Дамян Минков
5b6d7a3040
Skips creating duplicate poltergeists for the same user. (#1925)
преди 7 години
damencho
6e37fe175d
Skips showing empty statuses. Updates poltergeist to report connected.
преди 7 години
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
преди 8 години
damencho
8047fdf5a2
Makes possible for poltergeist to set status just before leaving.
преди 8 години
damencho
2c873e8c7f
Adds token verification for poltergeist accepted rest calls.
преди 8 години
damencho
284b5f94b5
Adds initial status param when creating poltergeist.
преди 8 години
damencho
f40faecfbe
Fixes using correct field for domain in multidomain mode.
преди 8 години
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.
преди 8 години
damencho
308360fbe0
Cleans poltergeists table on remove occupant and when muc is destroyed.
преди 8 години
damencho
e6840981ca
Handles removing poltergeists.
Adds http method to remove poltergeists. Adds configurable timeout after which poltergeists automatically are removed from the room.
преди 8 години
damencho
64bb5563bc
Returns error when there is no query, but params expected.
преди 8 години
damencho
0cffbdb967
Fixes wrong parameter name.
преди 8 години
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.
преди 8 години