summaryrefslogtreecommitdiffstats
path: root/model/file.go
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-08-10 12:05:45 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-08-10 14:04:23 -0400
commitc9a1bf2d336cc5718cdf327f37cfdf87dc0e2705 (patch)
treed90cdfebf96ac6a4557a8caaefe06888b7d9d6ba /model/file.go
parent4b74c873cc95973c5434988a41f5e06446a4e586 (diff)
downloadchat-c9a1bf2d336cc5718cdf327f37cfdf87dc0e2705.tar.gz
chat-c9a1bf2d336cc5718cdf327f37cfdf87dc0e2705.tar.bz2
chat-c9a1bf2d336cc5718cdf327f37cfdf87dc0e2705.zip
Changed post drafts to maintain a store a unique id for each file upload to fix issues with duplicate file names
Diffstat (limited to 'model/file.go')
-rw-r--r--model/file.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/file.go b/model/file.go
index 7f5a3f916..3d38ddbd1 100644
--- a/model/file.go
+++ b/model/file.go
@@ -19,6 +19,7 @@ var (
type FileUploadResponse struct {
Filenames []string `json:"filenames"`
+ ClientIds []string `json:"client_ids"`
}
func FileUploadResponseFromJson(data io.Reader) *FileUploadResponse {