Whether principalId sees threadId.
principalId
threadId
bool seesThread(String principalId, String threadId) { final t = threads[threadId]; return t != null && seesChannel(principalId, t['channel_id']! as String); }