GetFilter looks up the filter associated with a given local user and filter ID and populates the target filter. Otherwise returns an error if no such filter exists or if there was an error talking to the database.
(ctx context.Context, target *gomatrixserverlib.Filter, localpart string, filterID string)
| 136 | // and populates the target filter. Otherwise returns an error if no such filter exists |
| 137 | // or if there was an error talking to the database. |
| 138 | GetFilter(ctx context.Context, target *gomatrixserverlib.Filter, localpart string, filterID string) error |
| 139 | // PutFilter puts the passed filter into the database. |
| 140 | // Returns the filterID as a string. Otherwise returns an error if something |
| 141 | // goes wrong. |
no outgoing calls
no test coverage detected