Compare commits

..

1 commit

Author SHA1 Message Date
495b58489e Added auto serialization for Bind and Roster
All checks were successful
PR Check / on-push-commit-check (push) Successful in 13m5s
2024-11-23 08:06:50 +00:00

View file

@ -13,8 +13,8 @@ namespace iq {
template <auto& Name, typename PayloadType>
struct BaseImplWithPayload {
std::string id;
std::optional<FullJid> from{};
std::optional<BareJid> to{};
std::optional<Jid> from{};
std::optional<Jid> to{};
PayloadType payload;
static const inline std::string kName = Name;
static constexpr auto kDefaultName = "iq";