{{{ if ./roomName }}} {roomName}{{{ else }}}{./chatWithMessage}{{{ end}}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
[[search:no-matches]]
+
+
+
+
+
+
+
[[topic:composer.drag-and-drop-images]]
+
+
+
diff --git a/src/views/chats.tpl b/src/views/chats.tpl
new file mode 100644
index 0000000000..23db9e49fc
--- /dev/null
+++ b/src/views/chats.tpl
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+ {{{ if publicRooms.length }}}
+
+
+
+
+
+
+
+
+
+ {{{ each publicRooms }}}
+
+
{./roomName}
{./unreadCountText}
+
+
+
+
+ {{{ end }}}
+
+
+
+ {{{ end }}}
+
+
+
+
+ {{{ if publicRooms.length }}}
+
+
+
+
+ {{{ end }}}
+
+
+ {{{each rooms}}}
+
+ {{{end}}}
+
+
+
+
+
+
+
[[topic:composer.drag-and-drop-images]]
+
\ No newline at end of file
diff --git a/src/views/partials/chats/add-reaction.tpl b/src/views/partials/chats/add-reaction.tpl
new file mode 100644
index 0000000000..c8f127e786
--- /dev/null
+++ b/src/views/partials/chats/add-reaction.tpl
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/views/partials/chats/composer.tpl b/src/views/partials/chats/composer.tpl
new file mode 100644
index 0000000000..cae9634f9a
--- /dev/null
+++ b/src/views/partials/chats/composer.tpl
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+ {{{ each composerActions }}}
+
+ {{{ end }}}
+
+
+
+
+
+
+
+
+
{maximumChatMessageLength}
+
+
+
\ No newline at end of file
diff --git a/src/views/partials/chats/dropdown.tpl b/src/views/partials/chats/dropdown.tpl
new file mode 100644
index 0000000000..6524ee5dcb
--- /dev/null
+++ b/src/views/partials/chats/dropdown.tpl
@@ -0,0 +1,10 @@
+{{{ if !rooms.length }}}
+
+
+
[[modules:chat.no-active]]
+
+{{{ end }}}
+
+{{{ each rooms }}}
+
+{{{ end }}}
\ No newline at end of file
diff --git a/src/views/partials/chats/message-window.tpl b/src/views/partials/chats/message-window.tpl
new file mode 100644
index 0000000000..26c95c3d9a
--- /dev/null
+++ b/src/views/partials/chats/message-window.tpl
@@ -0,0 +1,43 @@
+
+ {{{ if ./roomName }}} {roomName}{{{ else }}}{./chatWithMessage}{{{ end}}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
[[search:no-matches]]
+
+
+
+
+
+
+
+
+ {{{ end }}}
+
\ No newline at end of file
diff --git a/src/views/partials/chats/message.tpl b/src/views/partials/chats/message.tpl
new file mode 100644
index 0000000000..b0bb0d0e76
--- /dev/null
+++ b/src/views/partials/chats/message.tpl
@@ -0,0 +1,73 @@
+
+
+ {{{ if messages.parent }}}
+
+ {{{ end }}}
+
+
\ No newline at end of file
diff --git a/src/views/partials/chats/messages.tpl b/src/views/partials/chats/messages.tpl
new file mode 100644
index 0000000000..d59cce50a5
--- /dev/null
+++ b/src/views/partials/chats/messages.tpl
@@ -0,0 +1,7 @@
+{{{each messages}}}
+ {{{ if !./system }}}
+
+ {{{ else }}}
+
+ {{{ end }}}
+{{{end}}}
\ No newline at end of file
diff --git a/src/views/partials/chats/options.tpl b/src/views/partials/chats/options.tpl
new file mode 100644
index 0000000000..1500439a02
--- /dev/null
+++ b/src/views/partials/chats/options.tpl
@@ -0,0 +1,100 @@
+
\ No newline at end of file
diff --git a/src/views/partials/chats/pinned-messages-list.tpl b/src/views/partials/chats/pinned-messages-list.tpl
new file mode 100644
index 0000000000..7fbe978328
--- /dev/null
+++ b/src/views/partials/chats/pinned-messages-list.tpl
@@ -0,0 +1,32 @@
+{{{ each messages }}}
+
+
+ {{{ if messages.parent }}}
+
+ {{{ end }}}
+
+
+ {{{ if (isAdminOrGlobalMod || (!config.disableChatMessageEditing && messages.self)) }}}
+
+ {{{ end }}}
+ {{{ if (isAdminOrGlobalMod || isOwner )}}}
+
+
+ {{{ end }}}
+
+
+
+
+{{{ end }}}
\ No newline at end of file
diff --git a/src/views/partials/chats/pinned-messages.tpl b/src/views/partials/chats/pinned-messages.tpl
new file mode 100644
index 0000000000..20d33f9c1d
--- /dev/null
+++ b/src/views/partials/chats/pinned-messages.tpl
@@ -0,0 +1,12 @@
+
+
[[modules:chat.pinned-messages]]
+
+
+
+
[[modules:chat.no-pinned-messages]]
+
+
+
+
+
+
diff --git a/src/views/partials/chats/reactions.tpl b/src/views/partials/chats/reactions.tpl
new file mode 100644
index 0000000000..c8f127e786
--- /dev/null
+++ b/src/views/partials/chats/reactions.tpl
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/views/partials/chats/recent_room.tpl b/src/views/partials/chats/recent_room.tpl
new file mode 100644
index 0000000000..92c50bcd4e
--- /dev/null
+++ b/src/views/partials/chats/recent_room.tpl
@@ -0,0 +1,55 @@
+{{{ if (loadingMore && @first)}}}
+
+{{{ end }}}
+
+
+
+
+ {{{ if ./users.length }}}
+ {{{ if ./groupChat}}}
+
{{{ if ./teaser.timeagoLong }}}{./teaser.timeagoLong}{{{ else }}}{{{ end }}}
+ {{{ end }}}
+
+
+
+
+
+
+
+{{{ if !@last }}}
+
+{{{ end }}}
diff --git a/src/views/partials/chats/scroll-up-alert.tpl b/src/views/partials/chats/scroll-up-alert.tpl
new file mode 100644
index 0000000000..52601bfa47
--- /dev/null
+++ b/src/views/partials/chats/scroll-up-alert.tpl
@@ -0,0 +1,3 @@
+
+
[[modules:chat.scroll-up-alert]]
+
\ No newline at end of file
diff --git a/src/views/partials/chats/system-message.tpl b/src/views/partials/chats/system-message.tpl
new file mode 100644
index 0000000000..f522bd108c
--- /dev/null
+++ b/src/views/partials/chats/system-message.tpl
@@ -0,0 +1,7 @@
+
\ No newline at end of file
diff --git a/src/views/partials/chats/user-list.tpl b/src/views/partials/chats/user-list.tpl
new file mode 100644
index 0000000000..c73a915828
--- /dev/null
+++ b/src/views/partials/chats/user-list.tpl
@@ -0,0 +1,11 @@
+
\ No newline at end of file
diff --git a/src/views/partials/chats/user.tpl b/src/views/partials/chats/user.tpl
new file mode 100644
index 0000000000..9ed5b71fbf
--- /dev/null
+++ b/src/views/partials/chats/user.tpl
@@ -0,0 +1 @@
+{buildAvatar(rooms.users, "32px", true)}
\ No newline at end of file