Skip to content
Snippets Groups Projects
Commit f5398b69 authored by Thomas Hackl's avatar Thomas Hackl
Browse files

use iframe only if allowed

parent 5106c84b
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@
<?= Assets::img('ajax-indicator-black.svg') ?>
</div>
<? elseif (!$noChat) : ?>
<? if (!Config::get()->MATRIX_USE_CHAT_IFRAME) : ?>
<? if (Config::get()->MATRIX_USE_CHAT_IFRAME) : ?>
<iframe src="<?= Config::get()->MATRIX_CHATSERVER_URL ?>" width="100%" height="100%"></iframe>
<? else : ?>
<div class="matrix-chat-button">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment