Skip to content

Commit 376dba1

Browse files
authored
Allow ResponseWithReturnValueInPayload to be passed into dtxConnection.Dispatch (#552)
1 parent eb39dd8 commit 376dba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/dtx_codec/connection.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func (g GlobalDispatcher) Dispatch(msg Message) {
131131
if msg.HasError() {
132132
log.Error(msg.Payload[0])
133133
}
134-
if msg.PayloadHeader.MessageType == UnknownTypeOne {
134+
if msg.PayloadHeader.MessageType == UnknownTypeOne || msg.PayloadHeader.MessageType == ResponseWithReturnValueInPayload {
135135
g.dtxConnection.Dispatch(msg)
136136
}
137137
}

0 commit comments

Comments
 (0)