stream-chat-android
stream-chat-android copied to clipboard
Giphy action doesn't appear in commands button
Describe the bug I have commands enabled and giphy as the allowed commands from dashboard for a channel type but in UI the commands button doesn't appear at all.
I tried to enable all commands (giphy, mute, unmute, ban and unban) and also tried them in different combinations, it seems like only mute and unmute are sent in config.commands array of a channel to frontend, other options don't appear in the commands menu. If I only have giphy, ban and unban as commands from dashboard then the commands button is not shown as the frontend SDK gets empty commands array. Although giphy command didn't appear in commands menu, I was able to use giphy by typing /giphy in message text field and it was working fine.
This issue is also happening in iOS SDK.
SDK version
- 5.10.0
To Reproduce Steps to reproduce the behavior:
- Go to stream dashboard
- Enable
commandsfor a channel type and keep giphy as the allowed command3. - Go to a chat in app of same channel type
- The commands button should be missing in the footer but you should be able to use giphy by typing
/giphy
Expected behavior Commands menu should show all enabled commands
Device:
- Vivo V2033
- Android version: 11
Hello @JayMehta97 We need to investigate it with our backend team and we will need some private info of your account. Would you mind opening a ticket here with your AppId, channel type, and users you are using? If you could add a link to this issue on the ticket would be great to be able to join them and handle it together
Hey @JcMinarro,
I have created a support ticket with link to this issue.
Closing as this seems to be resolved.