Skip to content

Commit

Permalink
Fix crash when opening rooms where the current user doesn't have perm…
Browse files Browse the repository at this point in the history
…ission to post messages.
  • Loading branch information
stefanceriu committed May 17, 2022
1 parent b5ddb39 commit be722ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,4 +360,9 @@ typedef enum : NSUInteger
*/
- (void)pasteText:(NSString*)text;

/**
The current attributed text message in message composer.
*/
@property (nonatomic) NSAttributedString *attributedTextMessage;

@end
5 changes: 0 additions & 5 deletions Riot/Modules/Room/Views/InputToolbar/RoomInputToolbarView.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,6 @@ typedef NS_ENUM(NSUInteger, RoomInputToolbarViewSendMode)
*/
@property (nonatomic, weak, readonly) UIButton *attachMediaButton;

/**
The current attributed text message in message composer.
*/
@property (nonatomic) NSAttributedString *attributedTextMessage;

@property (nonatomic, readonly, nonnull) UIFont *textDefaultFont;

/**
Expand Down

0 comments on commit be722ae

Please sign in to comment.