~singpolyma/asterisk

51af79b42e4ae7d1831603633d73bf0df179720e — Christopher Vollick 2 months ago 178fd4b master
Content Created By Initiator 2: Electric Boogaloo

I previously had a patch that changed this logic to always have content
be created by the initiator, but it turns out there's a third place
where this happens.

Apparently it wasn't important at the time I first made this patch, but
it has become important at some point, so I'm changing this for
consistency.
1 files changed, 1 insertions(+), 1 deletions(-)

M channels/chan_motif.c
M channels/chan_motif.c => channels/chan_motif.c +1 -1
@@ 1500,7 1500,7 @@ static int jingle_add_content(struct jingle_session *session, iks *jingle, iks *
	int res = 0;

	if (session->transport != JINGLE_TRANSPORT_GOOGLE_V1) {
		iks_insert_attrib(content, "creator", session->outgoing ? "initiator" : "responder");
		iks_insert_attrib(content, "creator", "initiator");
		iks_insert_attrib(content, "name", name);
		iks_insert_node(jingle, content);