Skip to content

Pennie stays in meeting after all participants leave #76

@BenGWeeks

Description

@BenGWeeks

Summary

When a Teams meeting ends and all participants leave, Pennie remains in the meeting instead of automatically leaving. She should detect when the meeting has ended and leave gracefully.

Steps to Reproduce

  1. Start a Teams meeting with Pennie joined
  2. Have a conversation/meeting as normal
  3. All human participants leave the meeting
  4. Expected: Pennie detects the meeting ended and leaves automatically
  5. Actual: Pennie stays in the meeting indefinitely

Expected Behavior

Pennie should automatically leave a meeting when:

  • All other participants have left
  • The meeting organizer ends the meeting
  • A configurable timeout occurs after the last participant leaves (e.g., 30 seconds grace period)

Technical Considerations

The bot should listen for:

  • ParticipantLeft events and track participant count
  • MeetingEnded event from Teams
  • Implement a grace period before leaving (in case someone rejoins)

Acceptance Criteria

  • Pennie detects when she is the only participant remaining
  • Pennie waits a configurable grace period (default 30 seconds)
  • If no one rejoins, Pennie leaves the meeting automatically
  • Pennie posts a summary message before leaving (if requirements were captured)
  • Log the meeting departure with reason

Labels

bug, meetings, teams-integration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions