mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd:Ⓜ️ Update linkage for m::visible interface.
This commit is contained in:
parent
30834dfd23
commit
8a8dbea623
2 changed files with 7 additions and 6 deletions
|
@ -1656,12 +1656,12 @@ ircd::m::visible(const event &event,
|
|||
{
|
||||
using prototype = bool (const m::event &, const string_view &);
|
||||
|
||||
static mods::import<prototype> function
|
||||
static mods::import<prototype> call
|
||||
{
|
||||
"m_room_history_visibility", "visible"
|
||||
"m_room_history_visibility", "ircd::m::visible"
|
||||
};
|
||||
|
||||
return function(event, mxid);
|
||||
return call(event, mxid);
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -92,9 +92,10 @@ _visible(const m::event &event,
|
|||
}
|
||||
}
|
||||
|
||||
extern "C" bool
|
||||
visible(const m::event &event,
|
||||
const string_view &mxid)
|
||||
bool
|
||||
IRCD_MODULE_EXPORT
|
||||
ircd::m::visible(const m::event &event,
|
||||
const string_view &mxid)
|
||||
{
|
||||
const m::room room
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue