[broker] ALL ABOARD THE USS HAMCHA IS A FUCKING IDIOT

This commit is contained in:
Hamcha 2016-02-20 22:41:00 +01:00
parent 5e232b5012
commit fafc24c3d0

View file

@ -14,5 +14,8 @@ func executeClientCommand(action tg.ClientCommand, client net.Conn) {
case tg.CmdGetFile:
data := *(action.FileRequestData)
api.GetFile(data, client, *action.Callback)
case tg.CmdSendPhoto:
data := *(action.PhotoData)
api.SendPhoto(data)
}
}