import type { AgentPubKeyB64 } from '@holochain-open-dev/core-types' ; import type { SessionWorkspace } from '../../../state/syn-state' ; export function putJustSeenFolks ( session , myPubKey , folks ) { const now = Date . now ( ) ; for ( const folk of folks ) { if ( folk !== myPubKey ) { if ( ! session . folks [ folk ] ) { session . folks [ folk ] = { lastSeen : now , inSession : true , } ; } else { session . folks [ folk ] . lastSeen = now ; session . folks [ folk ] . inSession = true ; } } } }