macros: Remove backwards-compatibility variants introduced in the previous commit.
This commit is contained in:
parent
bcd42a26e3
commit
ae3a5b6725
18 changed files with 60 additions and 70 deletions
|
|
@ -492,10 +492,10 @@ impl TryFrom<Element> for Jingle {
|
|||
check_no_unknown_attributes!(root, "Jingle", ["action", "initiator", "responder", "sid"]);
|
||||
|
||||
let mut jingle = Jingle {
|
||||
action: get_attr!(root, "action", required),
|
||||
initiator: get_attr!(root, "initiator", optional),
|
||||
responder: get_attr!(root, "responder", optional),
|
||||
sid: get_attr!(root, "sid", required),
|
||||
action: get_attr!(root, "action", Required),
|
||||
initiator: get_attr!(root, "initiator", Option),
|
||||
responder: get_attr!(root, "responder", Option),
|
||||
sid: get_attr!(root, "sid", Required),
|
||||
contents: vec![],
|
||||
reason: None,
|
||||
other: vec![],
|
||||
|
|
|
|||
Loading…
Reference in a new issue