mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
bridgev2/userlogin: add todo
This commit is contained in:
parent
074a2d8d4d
commit
9d30203f6b
1 changed files with 2 additions and 0 deletions
|
|
@ -51,6 +51,8 @@ func (br *Bridge) loadUserLogin(ctx context.Context, user *User, dbUserLogin *da
|
|||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to get user: %w", err)
|
||||
}
|
||||
// TODO if loading the user caused the provided userlogin to be loaded, cancel here?
|
||||
// Currently this will double-load it
|
||||
}
|
||||
userLogin := &UserLogin{
|
||||
UserLogin: dbUserLogin,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue