Skip to content

fix: populate the mediaType template token from the presence kind - #1167

Merged
rowkav09 merged 1 commit into
mainfrom
fix/1119-mediatype
Oct 10, 2026
Merged

rowkav09 merged 1 commit into
mainfrom
fix/1119-mediatype

Conversation

@rowkav09

Copy link
Copy Markdown
Member

Fixes #1119. Providers put the media type in the presence kind field, so the documented {mediaType} token rendered blank for real playback. The token now reads kind first and falls back to the raw mediaType field for older callers. Tests updated, 2 fail without the change.

Providers normalize playback into the presence model's kind field, so
the documented {mediaType} token rendered blank for real playback; only
older callers passing a raw mediaType field got a value. The token now
reads the normalized kind first and keeps the raw field as the fallback.

Fixes #1119
@codecov

codecov Bot commented Oct 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@rowkav09
rowkav09 merged commit 2345212 into main Oct 10, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

mediaType template token stays blank for normalized playback presence

1 participant