44 lines
1.1 KiB
Swift
44 lines
1.1 KiB
Swift
|
import Foundation
|
||
|
|
||
|
struct ServerFeature: Stateable, Identifiable {
|
||
|
let xep: String
|
||
|
let name: String
|
||
|
let xmppId: String?
|
||
|
let description: String?
|
||
|
|
||
|
var id: String { xep }
|
||
|
}
|
||
|
|
||
|
// <feature id="">
|
||
|
// <xep>XEP-0001</xep>
|
||
|
// <name>XMPP Extension Protocols</name>
|
||
|
// <type>Procedural</type>
|
||
|
// <status>Active</status>
|
||
|
// <date>2016-11-16</date>
|
||
|
// <description/>
|
||
|
// </feature>
|
||
|
// <feature id="">
|
||
|
// <xep>XEP-0002</xep>
|
||
|
// <name>Special Interest Groups (SIGs)</name>
|
||
|
// <type>Procedural</type>
|
||
|
// <status>Active</status>
|
||
|
// <date>2002-01-11</date>
|
||
|
// <description/>
|
||
|
// </feature>
|
||
|
// <feature id="jabber:iq:pass">
|
||
|
// <xep>XEP-0003</xep>
|
||
|
// <name>Proxy Accept Socket Service (PASS)</name>
|
||
|
// <type>Historical</type>
|
||
|
// <status>Obsolete</status>
|
||
|
// <date>2009-06-03</date>
|
||
|
// <description/>
|
||
|
// </feature>
|
||
|
// <feature id="">
|
||
|
// <xep>XEP-0004</xep>
|
||
|
// <name>Data Forms</name>
|
||
|
// <type>Standards Track</type>
|
||
|
// <status>Final</status>
|
||
|
// <date>2007-08-13</date>
|
||
|
// <description/>
|
||
|
// </feature>
|