I tried it again on a fresh Mattermost instance and the direct channel details were returned correctly the first time. It behaved as described above the succeeding times. I thought this might be a regression of an issue that’s been marked as fixed in master months ago. But then I thought to check exactly what version is being deployed by the Deploy to Heroku button in the README in the GitHub page. I saw that the link was deploying from a separate repo whose last commit was a few months before the fix. I suppose this means I really am running into the issue cited above. I think something needs to be there by that link that indicates it’s not deploying the repo it’s found on.