From b42404dcba657640185badd945afa74ce245ce94 Mon Sep 17 00:00:00 2001
From: JoramWilander <jwawilander@gmail.com>
Date: Wed, 11 Nov 2015 12:54:57 -0500
Subject: Remove unneed argument

---
 web/react/utils/channel_intro_mssages.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'web/react/utils/channel_intro_mssages.jsx')

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) {
-- 
cgit v1.2.3-1-g7c22

