diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/react/utils/channel_intro_mssages.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/channel_intro_mssages.jsx b/web/react/utils/channel_intro_mssages.jsx index 87dc680c1..8a3acc0bc 100644 --- a/web/react/utils/channel_intro_mssages.jsx +++ b/web/react/utils/channel_intro_mssages.jsx @@ -11,7 +11,7 @@ const TeamStore = require('../stores/team_store.jsx'); export function createChannelIntroMessage(channel, showInviteModal) { if (channel.type === 'D') { - return createDMIntroMessage(channel, showInviteModal); + return createDMIntroMessage(channel); } else if (ChannelStore.isDefault(channel)) { return createDefaultIntroMessage(channel); } else if (channel.name === Constants.OFFTOPIC_CHANNEL) { |