aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libzot.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Lib/Libzot.php')
-rw-r--r--Zotlabs/Lib/Libzot.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 44f1f399e..fb64626d6 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -1467,6 +1467,11 @@ class Libzot {
$result = [];
+ // Make sure we use the zot6 identity where applicable
+
+ $msg_arr['author_xchan'] = Activity::find_best_identity($msg_arr['author_xchan']);
+ $msg_arr['owner_xchan'] = Activity::find_best_identity($msg_arr['owner_xchan']);
+
// We've validated the sender. Now make sure that the sender is the owner or author
if(! $public) {