@@ 408-410 (lines=3) @@ | ||
405 | = $payload['channel']['name']; |
|
406 | break; |
|
407 | ||
408 | case 'group_archive': |
|
409 | $this->groups[$payload['group']['id']]->data['is_archived'] = true; |
|
410 | break; |
|
411 | ||
412 | case 'group_unarchive': |
|
413 | $this->groups[$payload['group']['id']]->data['is_archived'] = false; |
|
@@ 412-414 (lines=3) @@ | ||
409 | $this->groups[$payload['group']['id']]->data['is_archived'] = true; |
|
410 | break; |
|
411 | ||
412 | case 'group_unarchive': |
|
413 | $this->groups[$payload['group']['id']]->data['is_archived'] = false; |
|
414 | break; |
|
415 | ||
416 | case 'im_created': |
|
417 | $dm = new DirectMessageChannel($this, $payload['channel']); |