Add port of upload token result and add to user list in message

This commit is contained in:
heavyrain lee
2019-04-14 12:23:43 +08:00
parent 58c98bbbfa
commit 99a0590c7e
7 changed files with 422 additions and 100 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
protoc -odata.pb wfcmessage.proto
g++ -o convert convert.cpp
./convert
mv pbdata.h ../../../ios-workspace/mars/mars/proto/src/Proto/
mv pbdata.h ../../../proto/mars/proto/src/Proto/
rm convert data.pb
protoc --java_out=./ wfcmessage.proto
mv ./cn/wildfirechat/proto/WFCMessage.java ../../client/src/main/java/cn/wildfirechat/proto/
rm -rf ./cn/wildfirechat/proto
+3
View File
@@ -147,6 +147,7 @@ message GetUploadTokenResult {
required string domain = 1;
required string token = 2;
required string server = 3;
optional int32 port = 4;
}
message HandleFriendRequest {
@@ -168,7 +169,9 @@ message Message {
required MessageContent content = 3;
optional int64 message_id = 4;
optional int64 server_timestamp = 5;
//not use anymore
optional string to_user = 6;
repeated string to = 7;
}
message User {