Index: mod/chat/gui_ajax/theme/compact/chat.css
===================================================================
--- mod/chat/gui_ajax/theme/compact/chat.css	(revision )
+++ mod/chat/gui_ajax/theme/compact/chat.css	(revision )
@@ -42,6 +42,7 @@
     border-bottom-left-radius:6px;
     border-bottom-right-radius:6px;
 }
+.dir-rtl .chat-message {text-align:right;}
 .mdl-chat-my-entry .chat-message .meta {
     background: #FFFEEB;
     border-bottom: 1px solid white;
@@ -49,6 +50,7 @@
 .mdl-chat-my-entry .chat-message .text{
     background: #F1F3CB;
 }
+.dir-rtl .mdl-chat-my-entry .chat-message .text {text-align:right;}
 #chat-input-area ,#chat-input-area table.generaltable, #chat-input-area table.generaltable td.cell {
     background: #92B3E8;
     border: 0;
