From 376dba1a8642ece430e0621976c7cfe41cbbab1a Mon Sep 17 00:00:00 2001 From: Krzysztof Strehlau Date: Fri, 24 Jan 2025 10:45:30 +0100 Subject: [PATCH] Allow ResponseWithReturnValueInPayload to be passed into dtxConnection.Dispatch (#552) --- ios/dtx_codec/connection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/dtx_codec/connection.go b/ios/dtx_codec/connection.go index 012efbc9..f2b1cdb5 100644 --- a/ios/dtx_codec/connection.go +++ b/ios/dtx_codec/connection.go @@ -131,7 +131,7 @@ func (g GlobalDispatcher) Dispatch(msg Message) { if msg.HasError() { log.Error(msg.Payload[0]) } - if msg.PayloadHeader.MessageType == UnknownTypeOne { + if msg.PayloadHeader.MessageType == UnknownTypeOne || msg.PayloadHeader.MessageType == ResponseWithReturnValueInPayload { g.dtxConnection.Dispatch(msg) } }