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.
1 parent 7efbad2 commit f20ffc3Copy full SHA for f20ffc3
src/Utils/Message.php
@@ -59,6 +59,8 @@ public function __construct(object $message)
59
$this->publicKey = $message->publickey;
60
} elseif (property_exists($message, 'publicKey')) {
61
$this->publicKey = $message->publicKey;
62
+ } elseif (property_exists($message, 'signatory')) {
63
+ $this->publicKey = $message->signatory;
64
} else {
65
throw new InvalidArgumentException('The given message did not contain a valid public key.');
66
}
0 commit comments