added colorpicker to frontend, badge colour changes for groups, #2588

This commit is contained in:
Julian Lam
2015-01-09 13:51:27 -05:00
parent 7be0830751
commit b4731ad47b
8 changed files with 102 additions and 17 deletions

View File

@@ -41,6 +41,7 @@ Groups.leave = function(socket, data, callback) {
groups.leave(data.groupName, data.uid, callback);
};
// Possibly remove this and call SocketGroups.update instead
Groups.update = function(socket, data, callback) {
if(!data) {
return callback(new Error('[[error:invalid-data]]'));