Commit Graph

10 Commits

Author SHA1 Message Date
JC Brand
de549fe8bc Use offline messages array as queue, not heap.
Only trigger presence event (for UI) if we don't have any more ClientStorage
instances for bare_jid.
2012-07-01 19:48:18 +02:00
JC Brand
e4a0272ee7 The user is now notified if the chat partner is typing. 2012-07-01 13:12:02 +02:00
JC Brand
8c35e9f525 Send 'active' chatstate when a messages is sent 2012-07-01 12:44:38 +02:00
JC Brand
7221ef8c74 Add xmpp.Storage.ClientStorage to store messages offline 2012-07-01 12:03:43 +02:00
JC Brand
f204be098c The chatbox is now rendered completely in javascript. 2012-06-25 09:28:24 +02:00
JC Brand
de73fb218d Sent the callback directly to sendIQ 2012-06-24 21:03:03 +02:00
JC Brand
ee7ef4ad6e Add code to retrieve the last collection. 2012-06-24 13:16:19 +02:00
JC Brand
0935fd62f1 Add isOwnUser method. Return the number of resources left when removing one. 2012-06-24 12:06:37 +02:00
JC Brand
92a18780ca Override jarnxmpp.Presence.onlineCount to use the ChatPartners storage. 2012-06-24 11:24:10 +02:00
JC Brand
0c6ccf67c8 Add chat.js and chatui.js (split up from collective.xmpp.chat.js). 2012-06-23 14:26:04 +02:00