0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-25 05:18:23 +02:00

modules/m_receipt: Minor rename.

This commit is contained in:
Jason Volk 2019-08-23 14:54:37 -07:00
parent 01a751ca96
commit 60de3edb6f

View file

@ -10,7 +10,7 @@
using namespace ircd;
static void handle_ircd_m_read(const m::event &, m::vm::eval &);
static void handle_ircd_read(const m::event &, m::vm::eval &);
extern m::hookfn<m::vm::eval &> _ircd_read_eval;
static void handle_implicit_receipt(const m::event &, m::vm::eval &);
@ -464,7 +464,7 @@ catch(const std::exception &e)
decltype(_ircd_read_eval)
_ircd_read_eval
{
handle_ircd_m_read,
handle_ircd_read,
{
{ "_site", "vm.effect" },
{ "type", "ircd.read" },
@ -475,8 +475,8 @@ _ircd_read_eval
/// This handler looks for ircd.read events and conducts a federation
/// broadcast of the m.receipt edu.
void
handle_ircd_m_read(const m::event &event,
m::vm::eval &eval)
handle_ircd_read(const m::event &event,
m::vm::eval &eval)
try
{
if(!json::get<"state_key"_>(event))