arjunmat / slack-chat

A support chat feature for your website that integrates with #Slack
GNU General Public License v3.0
136 stars 37 forks source link

Private channel messages are duplicated #20

Open ulisesguerrero opened 7 years ago

ulisesguerrero commented 7 years ago

When selecting a created channel, chat works fine. But, when the private channel option is enabled, the messages are sent twice on the webchat. Slack only shows it once.

arjunmat commented 7 years ago

I'm unable to reproduce this. Can you please let me know how to reproduce this?

ulisesguerrero commented 7 years ago

My internet connection is slow, so that may be a possible cause. Not making any other changes but simply selecting the private checkbox, and running the chat again after running successfully with a created room.

All messages are duplicated, for both the sender, and messages sent from Slack on the web interface. I could record a video if that helps.

arjunmat commented 7 years ago

The slow connection could be the culprit. Since SlackChat polls Slack for messages, you could change the polling interval to see if that's causing the issue.