mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #31079 from nextcloud/ignore-self-contact-interaction
Ignore contact interaction with self
This commit is contained in:
commit
d29293e019
1 changed files with 5 additions and 0 deletions
|
|
@ -84,6 +84,11 @@ class ContactInteractionListener implements IEventListener {
|
|||
return;
|
||||
}
|
||||
|
||||
if ($event->getUid() !== null && $event->getUid() === $event->getActor()->getUID()) {
|
||||
$this->logger->info("Ignoring contact interaction with self");
|
||||
return;
|
||||
}
|
||||
|
||||
$existing = $this->mapper->findMatch(
|
||||
$event->getActor(),
|
||||
$event->getUid(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue