This commit is contained in:
parent
8300a699a3
commit
bdfa8c7bb1
@ -167,7 +167,7 @@ func ReadMessage(messageFilename string, detachFilesStoragePath string) ([]strin
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
return messagesOverview, filenames, "", nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// fmt.Println("have read fromServerMessage, will unmarshal packed")
|
// fmt.Println("have read fromServerMessage, will unmarshal packed")
|
||||||
@ -204,16 +204,11 @@ func ReadMessage(messageFilename string, detachFilesStoragePath string) ([]strin
|
|||||||
return "", "ReadMessage: FinalizeInvitation", err
|
return "", "ReadMessage: FinalizeInvitation", err
|
||||||
}
|
}
|
||||||
result["invitation finalized"] = peer.Name
|
result["invitation finalized"] = peer.Name
|
||||||
*/
|
|
||||||
|
|
||||||
}
|
|
||||||
|
}*/
|
||||||
|
|
||||||
// message
|
// message
|
||||||
// including list of detached files
|
// including list of detached files
|
||||||
val, err := json.Marshal(result)
|
return messagesOverview, filenames, "", nil
|
||||||
if err != nil {
|
|
||||||
return "", "ReadMessage: json.Marshal", err
|
|
||||||
}
|
|
||||||
os.Remove(messageFilename)
|
|
||||||
return string(val), "", nil
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user