mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
modules: Stub modules in place for m_event/m_room; reorder load list.
This commit is contained in:
parent
51adbcfe24
commit
59a6d4f6b5
4 changed files with 58 additions and 12 deletions
26
ircd/m.cc
26
ircd/m.cc
|
@ -196,16 +196,12 @@ decltype(ircd::m::module_names)
|
|||
ircd::m::module_names
|
||||
{
|
||||
"conf",
|
||||
"net_dns",
|
||||
"m_noop",
|
||||
"m_node",
|
||||
"m_keys",
|
||||
"m_event",
|
||||
"m_fetch",
|
||||
"m_feds",
|
||||
"m_events",
|
||||
"m_rooms",
|
||||
"m_rooms_summary",
|
||||
"m_users",
|
||||
"m_user",
|
||||
"m_user_filter",
|
||||
"m_user_rooms",
|
||||
|
@ -227,6 +223,12 @@ ircd::m::module_names
|
|||
"m_room_server_acl",
|
||||
"m_room_redaction",
|
||||
"m_room_bootstrap",
|
||||
"m_event",
|
||||
"m_event_append",
|
||||
"m_events",
|
||||
"m_rooms",
|
||||
"m_rooms_summary",
|
||||
"m_users",
|
||||
"m_presence",
|
||||
"m_receipt",
|
||||
"m_typing",
|
||||
|
@ -236,15 +238,14 @@ ircd::m::module_names
|
|||
"m_direct_to_device",
|
||||
"m_breadcrumb_rooms",
|
||||
"m_ignored_user_list",
|
||||
"m_event_append",
|
||||
"m_command",
|
||||
"m_control",
|
||||
"key_query",
|
||||
"key_server",
|
||||
"identity_pubkey",
|
||||
"identity_v1",
|
||||
"media_media",
|
||||
"m_command",
|
||||
"m_control",
|
||||
"well_known",
|
||||
"net_dns",
|
||||
"federation_backfill_ids",
|
||||
"federation_backfill",
|
||||
"federation_event_auth",
|
||||
|
@ -299,7 +300,8 @@ ircd::m::module_names
|
|||
"client_register",
|
||||
"client_rooms",
|
||||
"client_search",
|
||||
"client_send_to_device",
|
||||
"client_thirdparty_protocols",
|
||||
"client_voip_turnserver",
|
||||
"client_sync_account_data",
|
||||
"client_sync_device_lists",
|
||||
"client_sync_device_one_time_keys_count",
|
||||
|
@ -315,10 +317,10 @@ ircd::m::module_names
|
|||
"client_sync_rooms_summary",
|
||||
"client_sync",
|
||||
"client_sync_to_device",
|
||||
"client_thirdparty_protocols",
|
||||
"client_send_to_device",
|
||||
"client_versions",
|
||||
"client_voip_turnserver",
|
||||
"client_capabilities",
|
||||
"well_known",
|
||||
"web_root",
|
||||
"web_hook",
|
||||
"m_listen",
|
||||
|
|
|
@ -100,6 +100,7 @@ m_moduledir = @moduledir@
|
|||
|
||||
m_vm_la_SOURCES = m_vm.cc
|
||||
m_noop_la_SOURCES = m_noop.cc
|
||||
m_event_la_SOURCES = m_event.cc
|
||||
m_event_append_la_SOURCES = m_event_append.cc
|
||||
m_user_la_SOURCES = m_user.cc
|
||||
m_user_events_la_SOURCES = m_user_events.cc
|
||||
|
@ -127,6 +128,7 @@ m_breadcrumb_rooms_la_SOURCES = m_breadcrumb_rooms.cc
|
|||
m_events_la_SOURCES = m_events.cc
|
||||
m_rooms_la_SOURCES = m_rooms.cc
|
||||
m_rooms_summary_la_SOURCES = m_rooms_summary.cc
|
||||
m_room_la_SOURCES = m_room.cc
|
||||
m_room_timeline_la_SOURCES = m_room_timeline.cc
|
||||
m_room_create_la_SOURCES = m_room_create.cc
|
||||
m_room_member_la_SOURCES = m_room_member.cc
|
||||
|
@ -148,6 +150,7 @@ m_users_la_SOURCES = m_users.cc
|
|||
m_module_LTLIBRARIES = \
|
||||
m_vm.la \
|
||||
m_noop.la \
|
||||
m_event.la \
|
||||
m_event_append.la \
|
||||
m_user.la \
|
||||
m_user_events.la \
|
||||
|
@ -175,6 +178,7 @@ m_module_LTLIBRARIES = \
|
|||
m_events.la \
|
||||
m_rooms.la \
|
||||
m_rooms_summary.la \
|
||||
m_room.la \
|
||||
m_room_timeline.la \
|
||||
m_room_create.la \
|
||||
m_room_member.la \
|
||||
|
|
20
modules/m_event.cc
Normal file
20
modules/m_event.cc
Normal file
|
@ -0,0 +1,20 @@
|
|||
// Matrix Construct
|
||||
//
|
||||
// Copyright (C) Matrix Construct Developers, Authors & Contributors
|
||||
// Copyright (C) 2016-2019 Jason Volk <jason@zemos.net>
|
||||
//
|
||||
// Permission to use, copy, modify, and/or distribute this software for any
|
||||
// purpose with or without fee is hereby granted, provided that the above
|
||||
// copyright notice and this permission notice is present in all copies. The
|
||||
// full license for this software is available in the LICENSE file.
|
||||
|
||||
// NOTE: !!!
|
||||
// Definitions re currently split between libircd and modules until the API
|
||||
// and dependency graph has stabilized. Eventually most/all of ircd::m::
|
||||
// should migrate out of libircd into modules.
|
||||
|
||||
ircd::mapi::header
|
||||
IRCD_MODULE
|
||||
{
|
||||
"Matrix event library"
|
||||
};
|
20
modules/m_room.cc
Normal file
20
modules/m_room.cc
Normal file
|
@ -0,0 +1,20 @@
|
|||
// Matrix Construct
|
||||
//
|
||||
// Copyright (C) Matrix Construct Developers, Authors & Contributors
|
||||
// Copyright (C) 2016-2019 Jason Volk <jason@zemos.net>
|
||||
//
|
||||
// Permission to use, copy, modify, and/or distribute this software for any
|
||||
// purpose with or without fee is hereby granted, provided that the above
|
||||
// copyright notice and this permission notice is present in all copies. The
|
||||
// full license for this software is available in the LICENSE file.
|
||||
|
||||
// NOTE: !!!
|
||||
// Definitions re currently split between libircd and modules until the API
|
||||
// and dependency graph has stabilized. Eventually most/all of ircd::m::
|
||||
// should migrate out of libircd into modules.
|
||||
|
||||
ircd::mapi::header
|
||||
IRCD_MODULE
|
||||
{
|
||||
"Matrix room library"
|
||||
};
|
Loading…
Reference in a new issue