0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-06 02:28:38 +02:00

modules/m_event: Suppress transaction_id warning unless desired.

This commit is contained in:
Jason Volk 2019-03-14 13:31:37 -07:00
parent 3e72e1277e
commit 23855fb48e

View file

@ -483,6 +483,7 @@ ircd::m::append(json::stack::object &object,
0UL
};
#if defined(RB_DEBUG) && 0
if(!has_client_txnid && !txnid_idx && sender_is_user && opts.query_txnid)
log::dwarning
{
@ -491,6 +492,7 @@ ircd::m::append(json::stack::object &object,
json::get<"sender"_>(event),
json::get<"room_id"_>(event)
};
#endif
object.append(event);