Skip to content

Commit 444eb69

Browse files
committed
Fix render_for for substitutions on notify render
1 parent 2a1b4c4 commit 444eb69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/player.moo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ object PLAYER
114114
"For now we'll just pick the first content-type...";
115115
{?content_type = 'text_plain, @others} = content_types;
116116
try
117-
transformed = event:transform_for(connection_obj, content_type);
117+
transformed = event:transform_for(this, content_type);
118118
except e (ANY)
119119
transformed = "FAILED EVENT: " + toliteral(event) + "\n " + toliteral(e);
120120
endtry

0 commit comments

Comments
 (0)