Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sdelements/lets-chat into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Bartlett committed Jun 4, 2015
2 parents 6c526e8 + 44ab0a3 commit e7c8584
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ RUN groupadd -r node \
USER node

EXPOSE 5000
EXPOSE 5222

VOLUME [ "/usr/src/app/uploads" ]
7 changes: 5 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ app:
build: .
links:
- db
environment:
- LCB_DATABASE_URI=mongodb://db/letschat
ports:
- 5000:5000
- 5222:5222
environment:
- LCB_DATABASE_URI=mongodb://db/letschat
- LCB_XMPP_ENABLE=true
- LCB_XMPP_PORT=5222

# Mongo Database
db:
Expand Down
2 changes: 2 additions & 0 deletions media/js/views/room.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,8 @@
text: $textarea.val()
});
$textarea.val('');
this.scrollLocked = true;
this.scrollMessages();
},
addMessage: function(message) {
// Smells like pasta
Expand Down

0 comments on commit e7c8584

Please sign in to comment.