mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
Add Nextcloud namespace
This commit is contained in:
@@ -9,6 +9,7 @@ pub enum Namespace {
|
|||||||
CardDAV,
|
CardDAV,
|
||||||
ICal,
|
ICal,
|
||||||
CServer,
|
CServer,
|
||||||
|
Nextcloud,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Namespace {
|
impl Namespace {
|
||||||
@@ -19,6 +20,7 @@ impl Namespace {
|
|||||||
Self::CardDAV => "urn:ietf:params:xml:ns:carddav",
|
Self::CardDAV => "urn:ietf:params:xml:ns:carddav",
|
||||||
Self::ICal => "http://apple.com/ns/ical/",
|
Self::ICal => "http://apple.com/ns/ical/",
|
||||||
Self::CServer => "http://calendarserver.org/ns/",
|
Self::CServer => "http://calendarserver.org/ns/",
|
||||||
|
Self::Nextcloud => "http://nextcloud.com/ns",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -30,6 +32,7 @@ impl Namespace {
|
|||||||
Self::CardDAV => "xmlns:CARD",
|
Self::CardDAV => "xmlns:CARD",
|
||||||
Self::ICal => "xmlns:IC",
|
Self::ICal => "xmlns:IC",
|
||||||
Self::CServer => "xmlns:CS",
|
Self::CServer => "xmlns:CS",
|
||||||
|
Self::Nextcloud => "xmlns:NEXTC",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user