Add UserInfo to PeerInfo

This commit is contained in:
braginini
2022-09-23 18:16:24 +02:00
parent af69a48745
commit 2ee7d69f80
7 changed files with 98 additions and 40 deletions
@@ -60,7 +60,7 @@ func (am *MockAccountManager) GetUsersFromAccount(accountID string) ([]*server.U
if am.GetUsersFromAccountFunc != nil {
return am.GetUsersFromAccountFunc(accountID)
}
return nil, status.Errorf(codes.Unimplemented, "method GetUsersFromAccount is not implemented")
return nil, status.Errorf(codes.Unimplemented, "method GetUsers is not implemented")
}
// GetOrCreateAccountByUser mock implementation of GetOrCreateAccountByUser from server.AccountManager interface