Skip to content

Commit 7d313d2

Browse files
badlopgithub-actions[bot]
authored andcommitted
Automatic changes "make spec xdata"
1 parent fd4f21a commit 7d313d2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/xmpp_codec.hrl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@
523523
uri = [] :: [#media_uri{}]}).
524524
-type media() :: #media{}.
525525

526-
-record(mix_destroy, {channel :: any(),
526+
-record(mix_destroy, {channel = <<>> :: binary(),
527527
xmlns = <<>> :: binary()}).
528528
-type mix_destroy() :: #mix_destroy{}.
529529

src/xep0369.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ decode_mix_destroy_attr_channel(__TopXMLNS,
429429
<<"destroy">>,
430430
__TopXMLNS}});
431431
decode_mix_destroy_attr_channel(__TopXMLNS, _val) ->
432-
case catch jid:nodeprep(_val) of
432+
case catch nodeprep(_val) of
433433
{'EXIT', _} ->
434434
erlang:error({xmpp_codec,
435435
{bad_attr_value,

0 commit comments

Comments
 (0)