Skip to content
Snippets Groups Projects
Commit e3e4d279 authored by Josh Brooks's avatar Josh Brooks
Browse files

Small improvements

parent 6fefd60d
No related branches found
No related tags found
4 merge requests!510Release,!207WIP: Client Restructure,!203Symmetric broadcast,!199Xx 3866/user discovery
...@@ -16,7 +16,6 @@ import ( ...@@ -16,7 +16,6 @@ import (
// UserInfo is an interface for the user.User object. // UserInfo is an interface for the user.User object.
type UserInfo interface { type UserInfo interface {
PortableUserInfo() user.Info PortableUserInfo() user.Info
GetUsername() (string, error)
GetReceptionRegistrationValidationSignature() []byte GetReceptionRegistrationValidationSignature() []byte
} }
......
...@@ -80,10 +80,10 @@ func (m *Manager) RemoveUser(f fact.Fact) error { ...@@ -80,10 +80,10 @@ func (m *Manager) RemoveUser(f fact.Fact) error {
} }
privKey := m.user.PortableUserInfo().ReceptionRSA privKey := m.user.PortableUserInfo().ReceptionRSA
return removeUser(f, m.e2e.GetReceptionID(), privKey, m.comms, udHost) return m.removeUser(f, m.e2e.GetReceptionID(), privKey, m.comms, udHost)
} }
func removeUser(f fact.Fact, myId *id.ID, privateKey *rsa.PrivateKey, func (m *Manager) removeUser(f fact.Fact, myId *id.ID, privateKey *rsa.PrivateKey,
rFC removeUserComms, udHost *connect.Host) error { rFC removeUserComms, udHost *connect.Host) error {
// Construct the message to send // Construct the message to send
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment