mirror of
https://github.com/matrix-construct/construct
synced 2024-10-07 08:08:55 +02:00
modules/m_event: Suppress transaction_id warning unless desired.
This commit is contained in:
parent
3e72e1277e
commit
23855fb48e
1 changed files with 2 additions and 0 deletions
|
@ -483,6 +483,7 @@ ircd::m::append(json::stack::object &object,
|
||||||
0UL
|
0UL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined(RB_DEBUG) && 0
|
||||||
if(!has_client_txnid && !txnid_idx && sender_is_user && opts.query_txnid)
|
if(!has_client_txnid && !txnid_idx && sender_is_user && opts.query_txnid)
|
||||||
log::dwarning
|
log::dwarning
|
||||||
{
|
{
|
||||||
|
@ -491,6 +492,7 @@ ircd::m::append(json::stack::object &object,
|
||||||
json::get<"sender"_>(event),
|
json::get<"sender"_>(event),
|
||||||
json::get<"room_id"_>(event)
|
json::get<"room_id"_>(event)
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
object.append(event);
|
object.append(event);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue