We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 400c0bf + 6702ff3 commit 209c94dCopy full SHA for 209c94d
1 file changed
apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php
@@ -84,6 +84,11 @@ public function handle(Event $event): void {
84
return;
85
}
86
87
+ if ($event->getUid() !== null && $event->getUid() === $event->getActor()->getUID()) {
88
+ $this->logger->info("Ignoring contact interaction with self");
89
+ return;
90
+ }
91
+
92
$existing = $this->mapper->findMatch(
93
$event->getActor(),
94
$event->getUid(),
0 commit comments