ObjXMPP  Check-in [3a055c9030]

Overview
Comment:Fix initialization of XMPPContact
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3a055c903092f80542cb0e0a154099ef9aea058af94b0e2049218064102a492c
User & Date: florob@babelmonkeys.de on 2013-02-02 21:59:24
Other Links: manifest | tags
Context
2013-02-10
16:09
Fix roster versioning check-in: 471aef0278 user: florob@babelmonkeys.de tags: trunk
2013-02-02
21:59
Fix initialization of XMPPContact check-in: 3a055c9030 user: florob@babelmonkeys.de tags: trunk
2013-01-31
14:16
Never send starttls when the connection is already encrypted check-in: bef8950d92 user: florob@babelmonkeys.de tags: trunk
Changes

Modified src/XMPPContact.m from [ba595101e0] to [450455b9d5].

21
22
23
24
25
26
27





















28
29
30
31
32
33
34
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+







 */

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

@implementation XMPPContact
- init
{
	self = [super init];

	@try {
		presences = [[OFMutableDictionary alloc] init];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}

- (void)dealloc
{
	[presences release];

	[super dealloc];
}

- (XMPPRosterItem*)rosterItem
{
	OF_GETTER(rosterItem, YES);
}

- (OFDictionary*)presences
{