Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/candy-chat/candy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Langfeld <ben@langfeld.me>2014-07-30 19:15:20 +0400
committerBen Langfeld <ben@langfeld.me>2014-08-06 03:21:42 +0400
commitf19a0e28ca0c3a0b2e9f12f0cc2f41c42dc49804 (patch)
tree9250b1674d7f2003ab8d6e2311ab66a32bf52826 /Gruntfile.js
parent098adcd44af9dd0c28280816edbe5574a31dceec (diff)
Track main roster
* Request our roster when we connect, before sending initial presence, according to http://xmpp.org/rfcs/rfc6121.html#roster-login. * Emit events when the roster is fetched/updated * Aggregate status for multiple resources * Permit bootstrapping roster from cache (roster versioning) via options to Candy init * Associate a MUC ChatUser with its Contact from the main roster if they are not anonymous and are present in our roster * Add basic tests for processing room presence Closes #287
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 5ee0c7a..90acac2 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -31,8 +31,8 @@ module.exports = function(grunt) {
'src/candy.js', 'src/core.js', 'src/view.js',
'src/util.js', 'src/core/action.js',
'src/core/chatRoom.js', 'src/core/chatRoster.js',
- 'src/core/chatUser.js', 'src/core/event.js',
- 'src/view/observer.js',
+ 'src/core/chatUser.js', 'src/core/contact.js',
+ 'src/core/event.js', 'src/view/observer.js',
'src/view/pane/chat.js', 'src/view/pane/message.js',
'src/view/pane/privateRoom.js', 'src/view/pane/room.js',
'src/view/pane/roster.js', 'src/view/pane/window.js',
@@ -60,6 +60,7 @@ module.exports = function(grunt) {
'libs.bundle.js': [
'bower_components/strophe/strophe.js',
'bower_components/strophejs-plugins/muc/strophe.muc.js',
+ 'bower_components/strophejs-plugins/roster/strophe.roster.js',
'bower_components/strophejs-plugins/disco/strophe.disco.js',
'bower_components/strophejs-plugins/caps/strophe.caps.jsonly.js',
'bower_components/mustache/mustache.js',