Closed sblaisot closed 5 months ago
This has to do with expand: channel: summary
that don't work in a multiuser direct channel.
I think it's more a mattermost server bug than an app framework bug. I will report it there.
In the meantime I managed to workaround my bug by removing channel expand and making an api call to get channel details from post's channel_id (and this works for multiuser direct messages channels too)
With the following binding:
I have an app button on each post in the app post menu to "make a thing" with the post.
It works well for posts inside channels and for posts in private message between two users
As soon as it is a post in a direct message channel with more than two users, it fails.
clicking the app button in the app toolbar of a post in such a channel give me in the interface (and also in the logs) the following error message:
Please note the two spaces between "team ID" and "is different" meaning that channel's team ID is "empty string"
This error messages comes from this mattermost code
How to add a post button for multiuser direct message channels?