mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-14 05:55:54 +00:00
Add statistic tracking
This commit is contained in:
@@ -235,7 +235,12 @@ class ControlMessageController implements MessageComponentInterface
|
||||
if (is_null($user)) {
|
||||
$deferred->reject();
|
||||
} else {
|
||||
$deferred->resolve($user);
|
||||
$this->userRepository
|
||||
->updateLastSharedAt($user['id'])
|
||||
->then(function () use ($deferred, $user) {
|
||||
$deferred->resolve($user);
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user