diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2020-12-09 14:15:02 +0300 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2020-12-09 14:15:02 +0300 |
commit | f37f50c8e1bfbc366c93ca389412f4ed8e845f43 (patch) | |
tree | cb561ec7fc005798db87ceb0a1b5327f6b566ace /lib/MatterbridgeManager.php | |
parent | a457bfa264dbf9aca2d5a893c711501148e7b7dc (diff) |
refs #4719 fix telegram channel config key
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'lib/MatterbridgeManager.php')
-rw-r--r-- | lib/MatterbridgeManager.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/MatterbridgeManager.php b/lib/MatterbridgeManager.php index 7b13d0a08..82c813706 100644 --- a/lib/MatterbridgeManager.php +++ b/lib/MatterbridgeManager.php @@ -504,7 +504,9 @@ class MatterbridgeManager { $content .= "\n"; } elseif ($type === 'msteams') { $content .= sprintf(' threadId = "%s"', $part['threadid']) . "\n\n"; - } elseif (in_array($type, ['telegram', 'steam'])) { + } elseif ($type === 'telegram') { + $content .= sprintf(' channel = "%s"', $part['channel']) . "\n\n"; + } elseif ($type === 'steam') { $content .= sprintf(' chatid = "%s"', $part['chatid']) . "\n\n"; } } |