mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-23 14:25:17 +02:00
Make inviting/kicking work.
This commit is contained in:
@@ -6,11 +6,13 @@ define(['./module', 'lodash'], function(mod, _) {
|
||||
|
||||
socket.on('group.join', function(data) {
|
||||
groupService.members.push(data.serial)
|
||||
console.log('group.join', data)
|
||||
$rootScope.$digest()
|
||||
})
|
||||
|
||||
socket.on('group.left', function(data) {
|
||||
socket.on('group.leave', function(data) {
|
||||
_.pull(groupService.members, data.serial)
|
||||
console.log('group.leave', data)
|
||||
$rootScope.$digest()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user