MCPcopy Create free account
hub / github.com/daodst/chat / AssociateEDUWithDestination

Method AssociateEDUWithDestination

federationapi/storage/interface.go:42–42  ·  view source on GitHub ↗
(ctx context.Context, serverName gomatrixserverlib.ServerName, receipt *shared.Receipt, eduType string, expireEDUTypes map[string]time.Duration)

Source from the content-addressed store, hash-verified

40
41 AssociatePDUWithDestination(ctx context.Context, transactionID gomatrixserverlib.TransactionID, serverName gomatrixserverlib.ServerName, receipt *shared.Receipt) error
42 AssociateEDUWithDestination(ctx context.Context, serverName gomatrixserverlib.ServerName, receipt *shared.Receipt, eduType string, expireEDUTypes map[string]time.Duration) error
43
44 CleanPDUs(ctx context.Context, serverName gomatrixserverlib.ServerName, receipts []*shared.Receipt) error
45 CleanEDUs(ctx context.Context, serverName gomatrixserverlib.ServerName, receipts []*shared.Receipt) error

Callers 2

TestExpireEDUsFunction · 0.65
sendEDUMethod · 0.65

Calls

no outgoing calls

Tested by 1

TestExpireEDUsFunction · 0.52