mirror of
https://github.com/matrix-construct/construct
synced 2025-02-27 14:10:13 +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 &);
|
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
|
bool
|
||||||
visible(const m::event &event,
|
IRCD_MODULE_EXPORT
|
||||||
const string_view &mxid)
|
ircd::m::visible(const m::event &event,
|
||||||
|
const string_view &mxid)
|
||||||
{
|
{
|
||||||
const m::room room
|
const m::room room
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue