From cf2bc1a28e235bc310636b4cabbf5255e1a01f20 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Fri, 11 Nov 2016 11:21:18 +0100 Subject: [PATCH] protobuf: fix loading embedded messages --- src/lib/protobuf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/protobuf.py b/src/lib/protobuf.py index 03b115c643..38501c720b 100644 --- a/src/lib/protobuf.py +++ b/src/lib/protobuf.py @@ -176,6 +176,7 @@ class MessageType(Type): if issubclass(ftype, MessageType): flen = await UVarintType.load(source) slen = source.set_limit(flen) + target.send((field, None)) await ftype.load(source, target) source.set_limit(slen) else: