@@ 405-407 (lines=3) @@ | ||
402 | = $payload['channel']['name']; |
|
403 | break; |
|
404 | ||
405 | case 'channel_archive': |
|
406 | $this->channels[$payload['channel']['id']]->data['is_archived'] = true; |
|
407 | break; |
|
408 | ||
409 | case 'channel_unarchive': |
|
410 | $this->channels[$payload['channel']['id']]->data['is_archived'] = false; |
|
@@ 409-411 (lines=3) @@ | ||
406 | $this->channels[$payload['channel']['id']]->data['is_archived'] = true; |
|
407 | break; |
|
408 | ||
409 | case 'channel_unarchive': |
|
410 | $this->channels[$payload['channel']['id']]->data['is_archived'] = false; |
|
411 | break; |
|
412 | ||
413 | case 'group_joined': |
|
414 | $group = new Group($this, $payload['channel']); |