diff --git a/server/router.go b/server/router.go index 9dc2bdc..5afc072 100644 --- a/server/router.go +++ b/server/router.go @@ -97,8 +97,8 @@ func (r *RedisRouter) Route(msg *meowlib.ToServerMessage) (*meowlib.FromServerMe if msgcnt == 0 { // get invitation answer var answer meowlib.Invitation - storedAnswer, err := r.GetAnswerToInvitation(rq.LookupKey) - if err != nil { + storedAnswer, _ := r.GetAnswerToInvitation(rq.LookupKey) + if storedAnswer != nil { err := proto.Unmarshal(storedAnswer, &answer) if err != nil { from_server.Invitation.Payload = []byte("invitation answer corrupted")