mirror of
https://github.com/matrix-construct/construct
synced 2024-05-29 00:03:45 +02:00
ircd:Ⓜ️:user::registar: Don't send account.options,registration for puppets.
This commit is contained in:
parent
b3c6932332
commit
6eb1724a2b
|
@ -126,13 +126,11 @@ const
|
|||
};
|
||||
|
||||
// Store the options from registration.
|
||||
const m::event::id::buf account_options_id
|
||||
{
|
||||
if(type != "m.login.application_service")
|
||||
send(user_room, user.user_id, "ircd.account.options", "registration", json::members
|
||||
{
|
||||
{ "bind_email", bind_email },
|
||||
})
|
||||
};
|
||||
});
|
||||
|
||||
// Optionally generate an access_token for login.
|
||||
char access_token_buf[32];
|
||||
|
|
Loading…
Reference in a new issue