hunk.code_window: 	}
   	message := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_POSTED, "", post.ChannelId, "", nil)
   	message.Add("post", post.ToJson())
   	message.Add("channel_type", channel.Type)
   	message.Add("channel_display_name", channel.DisplayName)
   	message.Add("channel_name", channel.Name)
   	message.Add("sender_name", senderUsername)
   	message.Add("team_id", team.Id)
   	if len(post.FileIds) != 0 && fchan != nil {
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit: 	message.Add("channel_display_name", channelName)
  
hunk.file_path: app/notification.go
hunk.type: replace
file: // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
  // See License.txt for license information.
  
  package api
  
  import (
  	"github.com/mattermost/platform/model"
  	"github.com/mattermost/platform/utils"
  )
  
  const (
  	USER_PASSWORD              = "passwd"
  	CHANNEL_TYPE               = model.CHANNEL_OPEN
  	FUZZ_USER_EMAIL_PREFIX_LEN = 10
  	BTEST_TEAM_DISPLAY_NAME    = "TestTeam"
  	BTEST_TEAM_NAME            = "z-z-testdomaina"
  	BTEST_TEAM_EMAIL           = "test@nowhere.com"
  	BTEST_TEAM_TYPE            = model.TEAM_OPEN
  	BTEST_USER_NAME            = "Mr. Testing Tester"
  	BTEST_USER_EMAIL           = "success+ttester@simulator.amazonses.com"
  	BTEST_USER_PASSWORD        = "passwd"
  )
  
  var (
  	TEAM_NAME_LEN            = utils.Range{Begin: 10, End: 20}
  	TEAM_DOMAIN_NAME_LEN     = utils.Range{Begin: 10, End: 20}
  	TEAM_EMAIL_LEN           = utils.Range{Begin: 15, End: 30}
  	USER_NAME_LEN            = utils.Range{Begin: 5, End: 20}
  	USER_EMAIL_LEN           = utils.Range{Begin: 15, End: 30}
  	CHANNEL_DISPLAY_NAME_LEN = utils.Range{Begin: 10, End: 20}
  	CHANNEL_NAME_LEN         = utils.Range{Begin: 5, End: 20}
  	POST_MESSAGE_LEN         = utils.Range{Begin: 100, End: 400}
  	POST_HASHTAGS_NUM        = utils.Range{Begin: 5, End: 10}
  	POST_MENTIONS_NUM        = utils.Range{Begin: 0, End: 3}
  	TEST_IMAGE_FILENAMES     = []string{"test.png", "testjpg.jpg", "testgif.gif"}
  )
  