ObjXMPP  Diff

Differences From Artifact [5d5d301074]:

To Artifact [ac1bee5248]:


66
67
68
69
70
71
72
73
74

75
76
77

78
79
80


81
82
83
84
85
86
87
66
67
68
69
70
71
72


73
74
75

76
77


78
79
80
81
82
83
84
85
86







-
-
+


-
+

-
-
+
+







	    ID: (OFString*)ID_
{
	if (!([name_ isEqual: @"iq"] ||
	      [name_ isEqual: @"message"] ||
	      [name_ isEqual: @"presence"]))
		of_log(@"Invalid stanza name!");

	id ret;
	ret = [super initWithName: name_];
	self = [super initWithName: name_];
	[self setDefaultNamespace: @"jabber:client"];
	if (type_)
		[ret setType: type_];
		[self setType: type_];
	if (ID_)
		[ret setID: ID_];
	return ret;
		[self setID: ID_];
	return self;
}

- initWithElement: (OFXMLElement*)elem
{
	self = [super initWithName: elem.name
			 namespace: elem.namespace];