usercache: rename methods

"Update" better expresses what is being done to the cache.
This commit is contained in:
Skip R
2026-02-06 17:44:37 -08:00
parent 1fcc910184
commit 2310d2c036
4 changed files with 12 additions and 12 deletions

View File

@@ -69,7 +69,7 @@ func (dc *DiscordClient) FetchMessages(ctx context.Context, fetchParams bridgev2
// Update our user cache with all of the users present in the response. This
// indirectly makes `GetUserInfo` on `DiscordClient` return the information
// we've fetched above.
cachedDiscordUserIDs := dc.userCache.HandleMessages(msgs)
cachedDiscordUserIDs := dc.userCache.UpdateWithMessages(msgs)
{
log := zerolog.Ctx(ctx).With().