Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix again the RTL problem #1157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/ui/views/messages.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,7 @@ drawMessage = (e, entity) ->
mclz = ['message']
mclz.push c for c in MESSAGE_CLASSES when e[c]?
title = if e.timestamp then moment(e.timestamp / 1000).calendar() else null
div id:e.event_id, key:e.event_id, class:mclz.join(' '), title:title,
dir: 'auto', ->
div id:e.event_id, key:e.event_id, class:mclz.join(' '), title:title, dir: 'auto' ->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not correct, the -> is an argument for div function

You can build it on your own computer by installing nodejs

Then it's as easy as:

  • download and extract the repository to a folder
  • running in the command line (inside de folder):
npm install
npm start
``

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok i'll try it
thank you

if e.chat_message
content = e.chat_message?.message_content
format content
Expand Down