diff options
author | Gary Kim <gary@garykim.dev> | 2021-06-04 22:57:42 +0300 |
---|---|---|
committer | Gary Kim <gary@garykim.dev> | 2021-07-14 20:44:33 +0300 |
commit | 39d8489f6e493d8d5db21fc54ddd5a72c8e5deab (patch) | |
tree | 272e58eec4d1d69633019fdfc92c19c0059b6d31 /lib/Controller/ChatController.php | |
parent | 58adbd572863d7198e06d2000c429eddbeed0bac (diff) |
Only treat as a bridged actor if display name is set
Signed-off-by: Gary Kim <gary@garykim.dev>
Diffstat (limited to 'lib/Controller/ChatController.php')
-rw-r--r-- | lib/Controller/ChatController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/ChatController.php b/lib/Controller/ChatController.php index ce96caf16..2e22a1cd9 100644 --- a/lib/Controller/ChatController.php +++ b/lib/Controller/ChatController.php @@ -160,7 +160,7 @@ class ChatController extends AEnvironmentAwareController { if ($actorDisplayName) { $this->guestManager->updateName($this->room, $this->participant, $actorDisplayName); } - } elseif ($this->userId === MatterbridgeManager::BRIDGE_BOT_USERID) { + } elseif ($this->userId === MatterbridgeManager::BRIDGE_BOT_USERID && $actorDisplayName) { $actorType = Attendee::ACTOR_BRIDGED; $actorId = str_replace(["/", "\""], "", $actorDisplayName); } else { |