Overview
Comment: | The full JID is the bare JID in case there's no resource. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
219b0d5494d4b184e1336cc5b6022c13 |
User & Date: | js on 2011-02-16 20:05:57 |
Other Links: | manifest | tags |
Context
2011-02-16
| ||
20:12 | Add license. check-in: 472d585c4a user: js tags: trunk | |
20:05 | The full JID is the bare JID in case there's no resource. check-in: 219b0d5494 user: js tags: trunk | |
20:05 | Clean up the code. check-in: e00e687561 user: js tags: trunk | |
Changes
Modified src/XMPPJID.m from [31bd443101] to [d185585d38].
︙ | |||
127 128 129 130 131 132 133 134 135 136 137 138 139 140 | 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | + + + + | return [OFString stringWithFormat: @"%@@%@", node, domain]; else return [OFString stringWithFormat: @"%@", domain]; } - (OFString*)fullJID { /* If we don't have a resource, the full JID is equal to the bare JID */ if (resource == nil) return [self bareJID]; if (node != nil) return [OFString stringWithFormat: @"%@@%@/%@", node, domain, resource]; else return [OFString stringWithFormat: @"%@/%@", domain, resource]; } |
︙ |