mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
MXKAttachment: Improve MXKAttachmentType definition.
This commit is contained in:
@@ -27,7 +27,7 @@ extern NSString * const kMXKAttachmentErrorDomain;
|
||||
/**
|
||||
List attachment types
|
||||
*/
|
||||
typedef enum : NSUInteger {
|
||||
typedef NS_ENUM(NSUInteger, MXKAttachmentType) {
|
||||
MXKAttachmentTypeUndefined,
|
||||
MXKAttachmentTypeImage,
|
||||
MXKAttachmentTypeAudio,
|
||||
@@ -35,8 +35,7 @@ typedef enum : NSUInteger {
|
||||
MXKAttachmentTypeVideo,
|
||||
MXKAttachmentTypeFile,
|
||||
MXKAttachmentTypeSticker
|
||||
|
||||
} MXKAttachmentType;
|
||||
};
|
||||
|
||||
/**
|
||||
`MXKAttachment` represents a room attachment.
|
||||
|
||||
Reference in New Issue
Block a user