From dc3f4ba2425896019b061d33e408b6b44ae5a422 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Sat, 25 May 2019 18:42:23 +0100 Subject: [PATCH] parse first hop correctly --- .../main/groovy/com/muwire/core/connection/Connection.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/groovy/com/muwire/core/connection/Connection.groovy b/core/src/main/groovy/com/muwire/core/connection/Connection.groovy index 633dedd8..19293a04 100644 --- a/core/src/main/groovy/com/muwire/core/connection/Connection.groovy +++ b/core/src/main/groovy/com/muwire/core/connection/Connection.groovy @@ -164,7 +164,7 @@ abstract class Connection implements Closeable { QueryEvent event = new QueryEvent ( searchEvent : searchEvent, replyTo : replyTo, receivedOn : endpoint.destination, - firstHop : search.firstHop ) + firstHop : Boolean.parseBoolean(search.firstHop) ) eventBus.publish(event) }