0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

modules: Fix various m::edu related improper typecasts.

This commit is contained in:
Jason Volk 2018-09-13 06:03:09 -07:00
parent 0238364421
commit 6c629d3d89
3 changed files with 6 additions and 6 deletions

View file

@ -86,7 +86,7 @@ put__typing(client &client,
request.get("typing", false)
};
const m::edu::m_typing event
const m::typing event
{
{ "room_id", room_id },
{ "typing", typing },
@ -221,7 +221,7 @@ timeout_check()
void
timeout_timeout(const typist &t)
{
const m::edu::m_typing event
const m::typing event
{
{ "user_id", t.user_id },
{ "room_id", t.room_id },

View file

@ -32,7 +32,7 @@ presence_valid_state(const string_view &state)
});
}
static void handle_edu_m_presence_(const m::event &, const m::edu::m_presence &edu);
static void handle_edu_m_presence_(const m::event &, const m::presence &edu);
static void handle_edu_m_presence(const m::event &);
const m::hookfn<>
@ -77,7 +77,7 @@ catch(const std::exception &e)
void
handle_edu_m_presence_(const m::event &event,
const m::edu::m_presence &object)
const m::presence &object)
try
{
const m::user::id &user_id

View file

@ -16,7 +16,7 @@ IRCD_MODULE
"Matrix Typing"
};
static void _handle_edu_m_typing(const m::event &, const m::edu::m_typing &edu);
static void _handle_edu_m_typing(const m::event &, const m::typing &edu);
static void handle_edu_m_typing(const m::event &);
const m::hookfn<>
@ -42,7 +42,7 @@ handle_edu_m_typing(const m::event &event)
void
_handle_edu_m_typing(const m::event &event,
const m::edu::m_typing &edu)
const m::typing &edu)
{
const auto &room_id
{