markSeenOmni method

bool markSeenOmni(
  1. String shortLink
)

Implementation

bool markSeenOmni(String shortLink) {
  //hack to update cache
  if (_latestThreadsEntrySetCache.markSeenByShortLink(shortLink)) {
    ModeratorEntry? target = findModeratorEntryByShortLink(shortLink);
    if (target == null) return false;
    final surl = target.siteUrl.isNotEmpty ? target.siteUrl : _homeSite;
    final li = homeSite?.markSeenOmni(shortLink);
    if (li == null) return false;
  }

  _tbsCache.remove(shortLink);
  return true;
}