Browse Source

fix(flow): Don't use the current participant when posting the flow message

Otherwise the own user would not trigger a notification

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/11918/head
Joas Schilling 2 years ago
parent
commit
d6683b4fc9
No known key found for this signature in database GPG Key ID: 74434EFE0D2E2205
  1. 4
      lib/Flow/Operation.php

4
lib/Flow/Operation.php

@ -126,8 +126,8 @@ class Operation implements IOperation {
$this->chatManager->sendMessage(
$room,
$participant,
'bots',
null,
Attendee::ACTOR_BOTS,
$participant->getAttendee()->getActorId(),
$this->prepareMention($mode, $participant) . $message,
new \DateTime(),

Loading…
Cancel
Save