Overview
Comment: | Do not set presence type to available |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f2793cf7cb124fbf77470e1f0e820e91 |
User & Date: | js on 2018-11-11 15:30:11 |
Other Links: | manifest | tags |
Context
2018-11-11
| ||
19:13 | Add MUC namespace check-in: 5a6c7fcfb8 user: js tags: trunk | |
15:30 | Do not set presence type to available check-in: f2793cf7cb user: js tags: trunk | |
12:17 | Add support for anonymous authentication check-in: f09ee1db55 user: js tags: trunk | |
Changes
Modified src/XMPPConnection.m from [7227381b06] to [0b3550d382].
︙ | ︙ | |||
701 702 703 704 705 706 707 | _streamOpen = true; } - (void)close { if (_streamOpen) [_socket writeString: @"</stream:stream>"]; | < | 701 702 703 704 705 706 707 708 709 710 711 712 713 714 | _streamOpen = true; } - (void)close { if (_streamOpen) [_socket writeString: @"</stream:stream>"]; [_oldParser release]; _oldParser = nil; [_oldElementBuilder release]; _oldElementBuilder = nil; [_authModule release]; _authModule = nil; |
︙ | ︙ |
Modified src/XMPPPresence.h from [5ef3079598] to [7d91393aee].
︙ | ︙ | |||
30 31 32 33 34 35 36 | */ @interface XMPPPresence: XMPPStanza <OFComparing> { OFString *_status, *_show; OFNumber *_priority; } | < < < < < | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | */ @interface XMPPPresence: XMPPStanza <OFComparing> { OFString *_status, *_show; OFNumber *_priority; } /*! * The text content of the status element. */ @property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *status; /*! * The text content of the show element of the presence stanza. |
︙ | ︙ |
Modified src/XMPPPresence.m from [50a16e4ae1] to [d9aa17b963].
︙ | ︙ | |||
43 44 45 46 47 48 49 | if ([show isEqual: @"xa"]) return 4; OF_ENSURE(0); } @implementation XMPPPresence | < | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | if ([show isEqual: @"xa"]) return 4; OF_ENSURE(0); } @implementation XMPPPresence @synthesize status = _status, show = _show, priority = _priority; + (instancetype)presence { return [[[self alloc] init] autorelease]; } |
︙ | ︙ | |||
131 132 133 134 135 136 137 | [_status release]; [_show release]; [_priority release]; [super dealloc]; } | < < < < < < < < | 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | [_status release]; [_show release]; [_priority release]; [super dealloc]; } - (void)setShow: (OFString *)show { OFXMLElement *oldShow = [self elementForName: @"show" namespace: XMPP_NS_CLIENT]; OFString *old; if (oldShow != nil) |
︙ | ︙ |