mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
ircd:Ⓜ️ Indicate to event:🆔:buf it was written to.
This commit is contained in:
parent
47edaed3a6
commit
e179915008
1 changed files with 4 additions and 1 deletions
|
@ -24,10 +24,13 @@ ircd::m::event_id(const event &event,
|
|||
const const_buffer &hash)
|
||||
{
|
||||
char readable[b58encode_size(sha256::digest_size)];
|
||||
return id::event
|
||||
const id::event ret
|
||||
{
|
||||
buf, b58encode(readable, hash), my_host()
|
||||
};
|
||||
|
||||
buf.assigned(ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
ircd::m::id::event
|
||||
|
|
Loading…
Reference in a new issue