3 var appEvents = require('gitter-web-appevents');
4 var _ = require('lodash');
7 patch: function(userId, groupId, patchData) {
8 var patchMessage = _.extend({}, patchData, {
12 appEvents.dataChange2('/user/' + userId + '/groups', 'patch', patchMessage, 'group');