Rename DeleteServer to DeleteServerInfo to avoid API Clash

This commit is contained in:
Sarah Jamie Lewis 2023-08-21 09:32:38 -07:00
parent fac34ad814
commit 151e25b607
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ func (f *Functionality) GetServerInfoList(profile peer.CwtchPeer) []Server {
}
// DeleteServer purges a server and all related keys from a profile
func (f *Functionality) DeleteServer(profile peer.CwtchPeer, serverOnion string) error {
func (f *Functionality) DeleteServerInfo(profile peer.CwtchPeer, serverOnion string) error {
// Servers are stores as special conversations
ci, err := profile.FetchConversationInfo(serverOnion)
if err != nil {