Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
htsp server: fix the missing EPG events for restricted users in tvhcl…
…ient (android), fixes #3808
  • Loading branch information
perexg committed May 16, 2016
1 parent 45ae4fb commit 0a2958a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/htsp_server.c
Expand Up @@ -1563,6 +1563,8 @@ htsp_method_getEvents(htsp_connection_t *htsp, htsmsg_t *in)
/* Use event as starting point */
if (e || ch) {

if (e && !ch) ch = e->channel;

if (!htsp_user_access_channel(htsp, ch))
return htsp_error(htsp, N_("User does not have access"));

Expand Down

0 comments on commit 0a2958a

Please sign in to comment.