Browse Source

Func to upload file, not implemented

pull/1/head
Gregory Rudolph 5 years ago
parent
commit
9530acb2f8
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 5
      main.go

5
main.go

@ -75,6 +75,11 @@ func sendChat(message string) { @@ -75,6 +75,11 @@ func sendChat(message string) {
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) {
_, maxY := g.Size()
if testVar, err := k.ChatList(); err != nil {

Loading…
Cancel
Save