mirror of
https://github.com/matrix-construct/construct
synced 2024-06-09 21:48:55 +02:00
ircd:Ⓜ️🆔 Assert my(id) call is useful.
This commit is contained in:
parent
b9df49a891
commit
91b0027751
|
@ -3959,6 +3959,7 @@ ircd::m::my(const event &event)
|
|||
bool
|
||||
ircd::m::my(const id::event &event_id)
|
||||
{
|
||||
assert(event_id.host());
|
||||
return self::host(event_id.host());
|
||||
}
|
||||
|
||||
|
|
|
@ -874,6 +874,7 @@ noexcept
|
|||
bool
|
||||
ircd::m::my(const id &id)
|
||||
{
|
||||
assert(id.host());
|
||||
return my_host(id.host());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue