0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-13 21:41:06 +01:00

modules/m_receipt: Fix missing prop_mask field.

modules/m_presence: Fix missing prop_mask field.
This commit is contained in:
Jason Volk 2020-03-01 13:37:08 -08:00
parent 9bf174d84b
commit 8a9b06c67e
2 changed files with 2 additions and 0 deletions

View file

@ -289,6 +289,7 @@ try
m::vm::copts opts; m::vm::copts opts;
opts.edu = true; opts.edu = true;
opts.prop_mask.reset(); // Clear all PDU properties opts.prop_mask.reset(); // Clear all PDU properties
opts.prop_mask.set("origin");
opts.notify_clients = false; // Client /sync already saw the ircd.presence opts.notify_clients = false; // Client /sync already saw the ircd.presence
// Execute // Execute

View file

@ -387,6 +387,7 @@ try
m::vm::copts opts; m::vm::copts opts;
opts.edu = true; opts.edu = true;
opts.prop_mask.reset(); opts.prop_mask.reset();
opts.prop_mask.set("origin");
// Don't need to notify clients, the /sync system understood the // Don't need to notify clients, the /sync system understood the
// `ircd.read` directly. The federation sender is what we're hitting here. // `ircd.read` directly. The federation sender is what we're hitting here.