chore: fix function names in comment

Signed-off-by: verytrap <wangqiuyue@outlook.com>
This commit is contained in:
verytrap 2024-04-09 17:54:12 +08:00
parent 14a6c10097
commit 0a8f91c150
4 changed files with 5 additions and 5 deletions

View file

@ -79,7 +79,7 @@ func NewInternalAPI(
return appserviceQueryAPI
}
// generateAppServiceAccounts creates a dummy account based off the
// generateAppServiceAccount creates a dummy account based off the
// `sender_localpart` field of each application service if it doesn't
// exist already
func generateAppServiceAccount(

View file

@ -649,7 +649,7 @@ func (r *FederationInternalAPI) SendInviteV3(
return inviteEvent, nil
}
// PerformServersAlive implements api.FederationInternalAPI
// PerformBroadcastEDU implements api.FederationInternalAPI
func (r *FederationInternalAPI) PerformBroadcastEDU(
ctx context.Context,
request *api.PerformBroadcastEDURequest,

View file

@ -76,7 +76,7 @@ func (d *Database) AssociateEDUWithDestinations(
})
}
// GetNextTransactionEDUs retrieves events from the database for
// GetPendingEDUs retrieves events from the database for
// the next pending transaction, up to the limit specified.
func (d *Database) GetPendingEDUs(
ctx context.Context,
@ -166,7 +166,7 @@ func (d *Database) CleanEDUs(
})
}
// GetPendingServerNames returns the server names that have EDUs
// GetPendingEDUServerNames returns the server names that have EDUs
// waiting to be sent.
func (d *Database) GetPendingEDUServerNames(
ctx context.Context,

View file

@ -145,7 +145,7 @@ func (d *Database) CleanPDUs(
})
}
// GetPendingServerNames returns the server names that have PDUs
// GetPendingPDUServerNames returns the server names that have PDUs
// waiting to be sent.
func (d *Database) GetPendingPDUServerNames(
ctx context.Context,