Fix partial text messages not being saved for each room with RTE enabled

This commit is contained in:
aringenbach
2023-05-03 14:57:36 +02:00
parent bc68b26f6a
commit cc4a2cbca2
10 changed files with 75 additions and 15 deletions

View File

@@ -213,6 +213,15 @@ typedef enum : NSUInteger
*/
- (void)roomInputToolbarView:(MXKRoomInputToolbarView*)toolbarView updateActivityIndicator:(BOOL)isAnimating;
/**
Tells the delegate that the partial content of the composer has changed
and should be stored to allow restoring it later if needed.
@param toolbarView the room input toolbar view
@param partialAttributedTextMessage the partial content to store
*/
- (void)roomInputToolbarView:(MXKRoomInputToolbarView*)toolbarView shouldStorePartialContent:(NSAttributedString*)partialAttributedTextMessage;
@end
/**
@@ -390,6 +399,11 @@ typedef enum : NSUInteger
*/
@property (nonatomic) NSAttributedString *attributedTextMessage;
/**
Sets the partial text message to apply to the current message composer.
*/
- (void)setPartialContent:(NSAttributedString *)attributedTextMessage;
/**
Default font for the message composer.
*/