Fix invitation handling in RedisRouter
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
b4f7071990
commit
2a246744db
@ -105,7 +105,7 @@ func (r *RedisRouter) Route(msg *meowlib.ToServerMessage) (*meowlib.FromServerMe
|
|||||||
}
|
}
|
||||||
from_server.Invitation = &answer
|
from_server.Invitation = &answer
|
||||||
// exit loop if invitation found, cannot store several in a message
|
// exit loop if invitation found, cannot store several in a message
|
||||||
break
|
return &from_server, nil
|
||||||
}
|
}
|
||||||
// add invitation answer to the response
|
// add invitation answer to the response
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user