summaryrefslogtreecommitdiffstats
path: root/lib/Federation/BackendNotifier.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-03-13 16:56:03 +0100
committerJoas Schilling <coding@schilljs.com>2024-03-14 09:47:19 +0100
commit6d5de533a6f00e950c4b5ce202c5587e59ca9ba0 (patch)
tree4777c346472dff6c3cd0d555916a69a59926cd21 /lib/Federation/BackendNotifier.php
parent2e947ea83cfbe462043af920da239903904bcec1 (diff)
fix(federation): Send the display name when accepting the invite
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Federation/BackendNotifier.php')
-rw-r--r--lib/Federation/BackendNotifier.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Federation/BackendNotifier.php b/lib/Federation/BackendNotifier.php
index 15cfb0ac3..cb2102afe 100644
--- a/lib/Federation/BackendNotifier.php
+++ b/lib/Federation/BackendNotifier.php
@@ -179,6 +179,7 @@ class BackendNotifier {
int $remoteAttendeeId,
#[SensitiveParameter]
string $accessToken,
+ string $displayName,
): bool {
$remote = $this->prepareRemoteUrl($remoteServerUrl);
@@ -191,6 +192,7 @@ class BackendNotifier {
'remoteServerUrl' => $this->getServerRemoteUrl(),
'sharedSecret' => $accessToken,
'message' => 'Recipient accepted the share',
+ 'displayName' => $displayName,
]
);