0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 23:14:13 +01:00

ircd/modules: Consistent hook site names "vm notify" -> "vm.notify".

This commit is contained in:
Jason Volk 2018-03-16 13:27:25 -07:00
parent 969bc127e8
commit 8eb1f4df40
8 changed files with 13 additions and 13 deletions

View file

@ -134,7 +134,7 @@ namespace ircd::m::vm
decltype(ircd::m::vm::commit_hook)
ircd::m::vm::commit_hook
{
{ "name", "vm commit" }
{ "name", "vm.commit" }
};
/// Insert a new event originating from this server.
@ -218,7 +218,7 @@ ircd::m::vm::eval_hook
decltype(ircd::m::vm::notify_hook)
ircd::m::vm::notify_hook
{
{ "name", "vm notify" }
{ "name", "vm.notify" }
};
ircd::m::vm::eval::eval(const vm::opts &opts)

View file

@ -238,7 +238,7 @@ const m::hook
_create_alias_room
{
{
{ "_site", "vm notify" },
{ "_site", "vm.notify" },
{ "room_id", "!ircd" },
{ "type", "m.room.create" },
},

View file

@ -98,7 +98,7 @@ _create_public_hook
{
_create_public_room,
{
{ "_site", "vm notify" },
{ "_site", "vm.notify" },
{ "room_id", "!ircd" },
{ "type", "m.room.create" },
}

View file

@ -262,7 +262,7 @@ _first_user_hook
{
_first_user_registered,
{
{ "_site", "vm notify" },
{ "_site", "vm.notify" },
{ "room_id", "!users" },
{ "type", "ircd.user" },
},

View file

@ -440,7 +440,7 @@ create_my_key_hook
{
create_my_key,
{
{ "_site", "vm notify" },
{ "_site", "vm.notify" },
{ "room_id", m::my_node.room_id() },
{ "type", "m.room.create" },
}

View file

@ -60,7 +60,7 @@ update_conf_hook
{
update_conf,
{
{ "_site", "vm notify" },
{ "_site", "vm.notify" },
{ "room_id", "!conf" },
{ "type", "ircd.conf.item" },
}
@ -86,7 +86,7 @@ init_conf_items_hook
{
init_conf_items,
{
{ "_site", "vm notify" },
{ "_site", "vm.notify" },
{ "room_id", "!ircd" },
{ "type", "m.room.member" },
{ "membership", "join" },
@ -128,7 +128,7 @@ create_conf_room_hook
{
create_conf_room,
{
{ "_site", "vm notify" },
{ "_site", "vm.notify" },
{ "room_id", "!ircd" },
{ "type", "m.room.create" },
}

View file

@ -175,7 +175,7 @@ command_control_hook
{
command_control,
{
{ "_site", "vm notify" },
{ "_site", "vm.notify" },
{ "room_id", "!control" },
{ "type", "m.room.message" },
{ "content",
@ -204,7 +204,7 @@ create_control_hook
{
create_control_room,
{
{ "_site", "vm notify" },
{ "_site", "vm.notify" },
{ "room_id", "!ircd" },
{ "type", "m.room.create" },
}

View file

@ -59,7 +59,7 @@ create_my_node_hook
{
create_my_node_room,
{
{ "_site", "vm notify" },
{ "_site", "vm.notify" },
{ "room_id", "!nodes" },
{ "type", "m.room.create" },
}
@ -76,7 +76,7 @@ create_nodes_hook
{
create_nodes_room,
{
{ "_site", "vm notify" },
{ "_site", "vm.notify" },
{ "room_id", "!ircd" },
{ "type", "m.room.create" },
}