planiverse

A minimalist, no-JS front-end for Mastodon.
git clone https://git.stjo.hn/planiverse
Log | Files | Refs | README | LICENSE

channels.php (512B)


      1 <?php
      2 
      3 /*
      4 |--------------------------------------------------------------------------
      5 | Broadcast Channels
      6 |--------------------------------------------------------------------------
      7 |
      8 | Here you may register all of the event broadcasting channels that your
      9 | application supports. The given channel authorization callbacks are
     10 | used to check if an authenticated user can listen to the channel.
     11 |
     12 */
     13 
     14 /*Broadcast::channel('App.User.{id}', function ($user, $id) {
     15     return (int) $user->id === (int) $id;
     16 });*/