Differences From Artifact [50a16e4ae1]:
- File
src/XMPPPresence.m
— part of check-in
[cd21ff1157]
at
2018-11-05 22:30:18
on branch trunk
— Kill #ifdef HAVE_CONFIG_H
There no longer is an Xcode project for which it is needed. (user: js, size: 5891) [annotate] [blame] [check-ins using]
To Artifact [d9aa17b963]:
- File src/XMPPPresence.m — part of check-in [f2793cf7cb] at 2018-11-11 15:30:11 on branch trunk — Do not set presence type to available (user: js, size: 5771) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
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) |
︙ | ︙ |