message: Invalidate caching for mention changers
diff: @@ -1084,6 +1084,14 @@ IrcHandler.prototype._setMatrixRoomAsInviteOnly = function(room, isInviteOnly) {
  );
  };
  +IrcHandler.prototype.invalidateCachingForUserId = function(userId) {
  + this.nickUserIdMapCache.forEach((mapping, serverChannel) => {
  + if (Object.values(mapping).includes(userId)) {
  + this.nickUserIdMapCache.delete(serverChannel);
  + }
  + });
  +}
  +
  IrcHandler.prototype._invalidateNickUserIdMap = function(server, channel) {
  this.nickUserIdMapCache.delete(`${server.domain}:${channel}`);
  }
  