Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when opening rooms where the current user doesn't have perm… #6165

Merged
merged 1 commit into from
May 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
1 change: 1 addition & 0 deletions changelog.d/pr-6165.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed crash when opening rooms where the current user doesn't have permission to post messages.