1
0
mirror of https://github.com/Rudi9719/kbtui.git synced 2026-03-22 13:17:23 +00:00

Func to upload file, not implemented

This commit is contained in:
2019-09-25 16:52:58 -04:00
parent 911733495e
commit 9530acb2f8

View File

@ -75,6 +75,11 @@ func sendChat(message string) {
chat.Send(message) chat.Send(message)
} }
func uploadFile(g *gocui.Gui, fileName string, fileTitle string) {
chat := k.NewChat(channel)
chat.Upload(fileTitle, fileName)
}
func populateList(g *gocui.Gui) { func populateList(g *gocui.Gui) {
_, maxY := g.Size() _, maxY := g.Size()
if testVar, err := k.ChatList(); err != nil { if testVar, err := k.ChatList(); err != nil {