restyle chatbox and some refactoring

This commit is contained in:
Sharon Kennedy
2020-02-23 23:12:47 -05:00
parent 37455346f3
commit dcd4e4a9ba
14 changed files with 385 additions and 385 deletions

View File

@@ -1,12 +1,12 @@
import EmbeddableWidget from './embeddable-widget';
import EmbeddableChatbox from './embeddable-chatbox';
export default function bookmarklet() {
if (window.EmbeddableWidget) {
if (window.EmbeddableChatbox) {
return;
}
window.EmbeddableWidget = EmbeddableWidget;
window.EmbeddableChatbox = EmbeddableChatbox;
EmbeddableWidget.mount({
EmbeddableChatbox.mount({
termsUrl: 'https://tosdr.org/',
privacyStatement: 'This chat application does not collect any of your personal data or any data from your use of this service.',
matrixServerUrl: 'https://matrix.rhok.space',