fix(meetings): Past shows only scheduled + instant meetings; ad-hoc calls hidden w/o recording (batch86)
Revised rule per user: a call is not a meeting. Past meetings now = real SCHEDULED meetings + INSTANT meetings (Start-a-meeting, logged in call_history as adhoc). Ad-hoc CALLS — 1:1 direct, group calls, and a 1:1 that a 3rd person joined — are shown ONLY if they produced a recording/transcript. Dropped the earlier ">2 participants shows it" exception. Also stop rendering a bare "Host: —" on logged call cards. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1058,7 +1058,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<script src="/icons.js?v=6"></script>
|
||||
<script>window.__BUILD='2026-07-15-batch85';console.log('%cBiz Connect','color:#1F3B73;font-weight:bold','build '+window.__BUILD);
|
||||
<script>window.__BUILD='2026-07-15-batch86';console.log('%cBiz Connect','color:#1F3B73;font-weight:bold','build '+window.__BUILD);
|
||||
// Emoji are rendered with the OS's own (colour) emoji font — instant, zero network.
|
||||
//
|
||||
// We used to run Twemoji over every emoji, which swapped each one for an <img> pulled INDIVIDUALLY from
|
||||
@@ -3706,7 +3706,7 @@ async function loadScheduledMeetings(){
|
||||
if(m.durationMins) meta.push(m.durationMins+' min');
|
||||
if(m.recurrenceLabel) meta.push('🔁 '+pEsc(m.recurrenceLabel));
|
||||
if(m.status==='running') meta.push(m.inCall+' in call');
|
||||
meta.push(m.isHost?'You\'re the host':('Host: '+pEsc(m.createdByName||'—')));
|
||||
if(m.isHost) meta.push('You\'re the host'); else if(m.createdByName) meta.push('Host: '+pEsc(m.createdByName)); // skip "Host: —" for logged calls
|
||||
if(m.invited&&m.invited.length) meta.push(m.invited.length+' invited');
|
||||
// Cancel only on a FUTURE upcoming meeting (#13: not once the time has passed).
|
||||
const canCancel=m.canManage && m.status==='upcoming' && m.scheduledAt>Date.now();
|
||||
|
||||
Reference in New Issue
Block a user