From 8a9b06c67e72fa61adcce1c732156e57bdc80518 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 1 Mar 2020 13:37:08 -0800 Subject: [PATCH] modules/m_receipt: Fix missing prop_mask field. modules/m_presence: Fix missing prop_mask field. --- modules/m_presence.cc | 1 + modules/m_receipt.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/m_presence.cc b/modules/m_presence.cc index cca3f4cbe..ca128aaba 100644 --- a/modules/m_presence.cc +++ b/modules/m_presence.cc @@ -289,6 +289,7 @@ try m::vm::copts opts; opts.edu = true; opts.prop_mask.reset(); // Clear all PDU properties + opts.prop_mask.set("origin"); opts.notify_clients = false; // Client /sync already saw the ircd.presence // Execute diff --git a/modules/m_receipt.cc b/modules/m_receipt.cc index dccf68090..5d1248eba 100644 --- a/modules/m_receipt.cc +++ b/modules/m_receipt.cc @@ -387,6 +387,7 @@ try m::vm::copts opts; opts.edu = true; opts.prop_mask.reset(); + opts.prop_mask.set("origin"); // Don't need to notify clients, the /sync system understood the // `ircd.read` directly. The federation sender is what we're hitting here.