summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-11-11 12:54:57 -0500
committerJoramWilander <jwawilander@gmail.com>2015-11-11 12:54:57 -0500
commitb42404dcba657640185badd945afa74ce245ce94 (patch)
tree0a88f3ecc163034c0f489feed5a3a5ebe2e6ffc8 /web/react
parent782709aa56d8e3ad9d65cd05f33640887d771b89 (diff)
downloadchat-b42404dcba657640185badd945afa74ce245ce94.tar.gz
chat-b42404dcba657640185badd945afa74ce245ce94.tar.bz2
chat-b42404dcba657640185badd945afa74ce245ce94.zip
Remove unneed argument
Diffstat (limited to 'web/react')
-rw-r--r--web/react/utils/channel_intro_mssages.jsx2
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) {