func displayMessageData(msg flowdock.Message) { fmt.Println("MSG:", *msg.ID, *msg.Event, msg.Content()) }
func displayMessageData(msg flowdock.Message, room string) { events := []string{"user-edit", "file", "activity.user", "mail", "zendesk", "twitter", "tag-change"} if stringNotInSlice(*msg.Event, events) { fmt.Println("\nMSG:", room, *msg.ID, *msg.Event, msg.Content()) } }