예제 #1
0
        public async Task <IActionResult> GetChatMessages(SubsonicRequest request, long?since)
        {
            var authResult = await AuthenticateUser(request).ConfigureAwait(false);

            if (authResult != null)
            {
                return(authResult);
            }
            var result = await SubsonicService.GetChatMessages(request, SubsonicUser, since).ConfigureAwait(false);

            return(BuildResponse(request, result, "chatMessages"));
        }