mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-11-21 18:02:24 +00:00
Fix user id
This commit is contained in:
parent
38b6993bd6
commit
0dde8e270c
@ -1,7 +1,6 @@
|
||||
package memory
|
||||
|
||||
type User struct {
|
||||
id string
|
||||
name string
|
||||
password string
|
||||
Tokens map[string]Token
|
||||
@ -10,7 +9,7 @@ type User struct {
|
||||
}
|
||||
|
||||
func (user *User) ID() string {
|
||||
return "@" + user.id + ":" + user.backend.hostname
|
||||
return "@" + user.name + ":" + user.backend.hostname
|
||||
}
|
||||
|
||||
func (user *User) Name() string {
|
||||
|
Loading…
Reference in New Issue
Block a user