equal
deleted
inserted
replaced
77 end |
77 end |
78 -- Store updated state |
78 -- Store updated state |
79 client_store:set_key(username, client_id, client_state); |
79 client_store:set_key(username, client_id, client_state); |
80 |
80 |
81 if is_new_client then |
81 if is_new_client then |
82 module:fire_event("client_management/new-client", { client = client_state }); |
82 module:fire_event("client_management/new-client", { client = client_state; session = session }); |
83 end |
83 end |
84 end |
84 end |
85 end); |
85 end); |
86 |
86 |
87 local function find_client_by_resource(username, resource) |
87 local function find_client_by_resource(username, resource) |