diff --git a/src/messages/MessageBuilder.cpp b/src/messages/MessageBuilder.cpp index d8ca5c444..96a2d25c6 100644 --- a/src/messages/MessageBuilder.cpp +++ b/src/messages/MessageBuilder.cpp @@ -65,6 +65,8 @@ std::pair makeAutomodMessage( builder = MessageBuilder(); builder.emplace(); + builder.emplace(); + builder.message().loginName = action.target.name; builder.message().flags.set(MessageFlag::PubSub); builder