Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Server: prepend type to message. Add TODOs.

  • Loading branch information...
commit c0f5d11bcc8d346b80e833c84a89c988f53caeab 1 parent f976b96
@mattdipasquale mattdipasquale authored
Showing with 7 additions and 3 deletions.
  1. +1 −1  Server/server.js
  2. +6 −2 TODO.taskpaper
View
2  Server/server.js
@@ -48,7 +48,7 @@ web_socket_server.on('connection', function(web_socket) {
// Broadcast message to other web_sockets.
for (var web_socket_key in web_sockets) {
if (web_socket_key != web_socket_id) {
- web_sockets[web_socket_key].send(sent_message); // TODO: Should we check for error?
+ web_sockets[web_socket_key].send('[1,'+sent_message+']'); // TODO: Should we check for error?
}
}
}); // TODO: Check errors.
View
8 TODO.taskpaper
@@ -5,10 +5,14 @@ AcaniChat:
http://www.iphonesdkarticles.com/2009/01/uitableview-searching-table-view.html
- Pretty format sentDate (Bold if it's a time.).
- Get correct UnreadBullet image or draw it with Quartz2D.
- - Enhance "Edit" animation for each cell. Red circle should cover UnreadBullet.
+ - Enhance "Edit" animation for each cell.
+ - Red circle should cover UnreadBullet.
+ - Hide sentDateLabel.
MessagesViewController:
- - Jump (don't animate) messageInputBar above keyboard if conversation.draft in viewDidLoad.
+ - Allow sending more than one message at the same time. @issue
+ - I can push ACMessagesViewController many times. @issue
+ - Jump (don't animate) messageInputBar above keyboard if conversation.draft in viewDidLoad. @issue
- Send four lines of text correctly. @issue
- Scroll _tableView to bottom after collapsing input. @issue
- _textView autocorrect is hidden. @issue

0 comments on commit c0f5d11

Please sign in to comment.
Something went wrong with that request. Please try again.