This commit is contained in:
ycc 2022-10-24 18:44:21 +02:00
parent 7b95b9df71
commit 7489ffffcb
2 changed files with 4 additions and 3 deletions

View File

@ -146,7 +146,7 @@ func (id *Identity) PackForSending(encryptedMessage []byte, signature []byte) (f
} }
// Outbound helper function // Outbound helper function
func (id *Identity) ProcessOut(peerPublicKey string, msg *meowlib.FromServerMessage) (fromServerMessage []byte, err error) { func (id *Identity) ProcessOutbound(peerPublicKey string, msg *meowlib.FromServerMessage) (fromServerMessage []byte, err error) {
encoded_srv_fromServerMessage, err := id.SerializeFromServerMessage(msg) encoded_srv_fromServerMessage, err := id.SerializeFromServerMessage(msg)
if err != nil { if err != nil {
return nil, err return nil, err

View File

@ -67,10 +67,11 @@ func (r *RedisRouter) Route(msg *meowlib.ToServerMessage) (*meowlib.FromServerMe
} }
} }
}
if len(msg.KnownServers) > 0 {
} }
/* /*
case "q": // query messages
break
case "s": // servers list case "s": // servers list
breakmsgs breakmsgs