mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 07:28:28 +02:00
RoomInputToolbarView: Turn the boolean replyToEnabled into an enum: sendMode
because message editing (#2404) is coming
This commit is contained in:
@@ -18,6 +18,16 @@
|
||||
|
||||
#import "MediaPickerViewController.h"
|
||||
|
||||
/**
|
||||
Destination of the message in the composer
|
||||
*/
|
||||
typedef enum : NSUInteger
|
||||
{
|
||||
RoomInputToolbarViewSendModeSend,
|
||||
RoomInputToolbarViewSendModeReply,
|
||||
} RoomInputToolbarViewSendMode;
|
||||
|
||||
|
||||
@protocol RoomInputToolbarViewDelegate <MXKRoomInputToolbarViewDelegate>
|
||||
|
||||
/**
|
||||
@@ -70,9 +80,9 @@
|
||||
@property (nonatomic) BOOL isEncryptionEnabled;
|
||||
|
||||
/**
|
||||
Tell whether the input text will be a reply to a message.
|
||||
Destination of the message in the composer.
|
||||
*/
|
||||
@property (nonatomic, getter=isReplyToEnabled) BOOL replyToEnabled;
|
||||
@property (nonatomic) RoomInputToolbarViewSendMode sendMode;
|
||||
|
||||
/**
|
||||
Tell whether a call is active.
|
||||
|
||||
Reference in New Issue
Block a user