mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Support for calendar events priorities and categories
Review 880 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -224,6 +224,14 @@ static void icalendar_add_event(icalcomponent *comp, struct icaltime_span *span, | ||||
| 		ast_string_field_set(event, location, icalproperty_get_value_as_string(prop)); | ||||
| 	} | ||||
|  | ||||
| 	if ((prop = icalcomponent_get_first_property(comp, ICAL_CATEGORIES_PROPERTY))) { | ||||
| 		ast_string_field_set(event, categories, icalproperty_get_value_as_string(prop)); | ||||
| 	} | ||||
|  | ||||
| 	if ((prop = icalcomponent_get_first_property(comp, ICAL_PRIORITY_PROPERTY))) { | ||||
| 		event->priority = icalvalue_get_integer(icalproperty_get_value(prop)); | ||||
| 	} | ||||
|  | ||||
| 	if ((prop = icalcomponent_get_first_property(comp, ICAL_UID_PROPERTY))) { | ||||
| 		ast_string_field_set(event, uid, icalproperty_get_value_as_string(prop)); | ||||
| 	} else { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user