chore(chan): leave a TODO note for PUBREC handler

This commit is contained in:
Andrew Mayorov 2023-11-27 09:55:07 +03:00
parent 41973ee1fa
commit 923898eadf
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
1 changed files with 1 additions and 0 deletions

View File

@ -423,6 +423,7 @@ handle_in(
{ok, Channel} {ok, Channel}
end; end;
handle_in( handle_in(
%% TODO: Why discard the Reason Code?
?PUBREC_PACKET(PacketId, _ReasonCode, Properties), ?PUBREC_PACKET(PacketId, _ReasonCode, Properties),
Channel = Channel =
#channel{clientinfo = ClientInfo, session = Session} #channel{clientinfo = ClientInfo, session = Session}