ObjXMPP  Diff

Differences From Artifact [44752eb874]:

To Artifact [8540bdc9fe]:


18
19
20
21
22
23
24

25
26
27
28
29
30
31
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32







+







 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

#import "XMPPMessage.h"
#import "XMPPConnection.h"

@implementation XMPPMessage
+ message
{
	return [[[self alloc] init] autorelease];
}

71
72
73
74
75
76
77

78
79
80
72
73
74
75
76
77
78
79
80
81
82







+



			      type: type_
				ID: ID_];
}

- (void)addBody: (OFString*)body
{
	[self addChild: [OFXMLElement elementWithName: @"body"
					    namespace: XMPP_NS_CLIENT
					  stringValue: body]];
}
@end