mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-29 12:42:46 +00:00
Fix Yggdrasil gobind build, set display name at registration
This commit is contained in:
parent
42dd962425
commit
8e7947926c
3 changed files with 20 additions and 0 deletions
|
@ -174,3 +174,7 @@ func (n *Node) SigningPrivateKey() ed25519.PrivateKey {
|
|||
privBytes, _ := hex.DecodeString(n.config.SigningPrivateKey)
|
||||
return ed25519.PrivateKey(privBytes)
|
||||
}
|
||||
|
||||
func (n *Node) PeerCount() int {
|
||||
return len(n.core.GetSwitchPeers())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue