diff options
Diffstat (limited to 'src/user-awareness-monitors.c')
-rw-r--r-- | src/user-awareness-monitors.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/user-awareness-monitors.c b/src/user-awareness-monitors.c index 4aa57c6..e70e44d 100644 --- a/src/user-awareness-monitors.c +++ b/src/user-awareness-monitors.c @@ -488,7 +488,7 @@ static void __ua_monitor_send_sensor_presence_cb(ua_monitor_s *monitor, } static void __ua_sensor_presence_detected(ua_monitor_s *monitor, - ua_sensor_info_s *sensor_info, char *account, unsigned long long timestamp, + ua_sensor_info_s *sensor_info, char *account, unsigned long long last_seen, char *device_id) { FUNC_ENTRY; @@ -535,7 +535,7 @@ static void __ua_sensor_presence_detected(ua_monitor_s *monitor, device_handle); ua_user_h user_handle = _ua_get_user_handle_by_account(user_state->account); - _ua_set_user_last_presence_timestamp(user_handle, timestamp); + _ua_set_user_last_seen(user_handle, last_seen); } if (!monitor->presence_detection_started) { @@ -851,8 +851,8 @@ void _ua_monitor_handle_user_presence_detected(uam_sensor_info_s *info, if (!service || !g_strcmp0(service, monitor->service)) { /* Presence detection ongoing */ - __ua_sensor_presence_detected(monitor, sensor_info, account, - timestamp, device_id); + __ua_sensor_presence_detected(monitor, sensor_info, account, timestamp, + device_id); } } _ua_free_sensor_info(sensor_info); |