mirror of
https://github.com/bitinflow/expose.git
synced 2026-10-31 20:59:09 +00:00
Add statistic tracking
This commit is contained in:
1 parent
7f6be8cae2
commit
9444d1aacb
15 files changed
+308
-7
No files matched your search
@@ -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