From 2a246744db5effe599b210b24fedeb393f5a5f17 Mon Sep 17 00:00:00 2001 From: ycc Date: Sun, 31 Mar 2024 16:24:25 +0200 Subject: [PATCH] Fix invitation handling in RedisRouter --- server/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/router.go b/server/router.go index f835011..9dc2bdc 100644 --- a/server/router.go +++ b/server/router.go @@ -105,7 +105,7 @@ func (r *RedisRouter) Route(msg *meowlib.ToServerMessage) (*meowlib.FromServerMe } from_server.Invitation = &answer // exit loop if invitation found, cannot store several in a message - break + return &from_server, nil } // add invitation answer to the response }