func (VS *Server) showConversations(c *gin.Context) {
	user := VS.getUserFomCookie(c, "h_comunication", "showChooseUsersForConversation", "user := VS.getUserFomCookie")
	conv := VS.getConversationsByUser(c, user.ID, "h_comunication", "showChooseUsersForConversation", "conv := VS.getConversationsByUser")
	convHTML := VS.conversationToHTML(c, user.ID, conv)
	JSON, err := json.Marshal(convHTML)
	VS.checkOperation(c, "h_date", "showUsers", "JSON, err := json.Marshal(uHTML)", err)
	render(c, gin.H{
		"JSON": string(JSON),
		"conv": conv,
	}, "conversations.html")
}
// This handler shows the Conversations of the user
This handler shows the Conversations of the user
// This handler shows the Conversations of the user
func (VS *Server) showConversations(c *gin.Context) {
	user := VS.getUserFomCookie(c, "h_comunication", "showChooseUsersForConversation", "user := VS.getUserFomCookie")
	conv := VS.getConversationsByUser(c, user.ID, "h_comunication", "showChooseUsersForConversation", "conv := VS.getConversationsByUser")
	convHTML := VS.conversationToHTML(c, user.ID, conv)
	JSON, err := json.Marshal(convHTML)
	VS.checkOperation(c, "h_date", "showUsers", "JSON, err := json.Marshal(uHTML)", err)
	render(c, gin.H{
		"JSON": string(JSON),
		"conv": conv,
	}, "conversations.html")
}
func ( VS * Server ) showConversations ( c * gin . Context ) { user := VS . getUserFomCookie ( c , " " , " " , " " ) conv := VS . getConversationsByUser ( c , user . ID , " " , " " , " " ) convHTML := VS . conversationToHTML ( c , user . ID , conv ) JSON , err := json . Marshal ( convHTML ) VS . checkOperation ( c , " " , " " , " " , err ) render ( c , gin . H { " " : string ( JSON ) , " " : conv , } , " " ) }
This handler shows the Conversations of the user
This handler shows the Conversations of the user