Skip to content

Commit 2184f1f

Browse files
authored
Merge pull request #6993 from vector-im/aringenbach/6962_slash_commands
Fixed IRC-style message and commands support in Rich text editor
2 parents c69c3b9 + 82274c0 commit 2184f1f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Riot/Modules/Room/RoomViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ extension RoomViewController {
8484
"event_id": eventModified.eventId
8585
])
8686
})
87-
} else {
87+
} else if !self.send(asIRCStyleCommandIfPossible: rawTextMsg) {
8888
roomDataSource.sendFormattedTextMessage(rawTextMsg, html: htmlMsg) { response in
8989
switch response {
9090
case .success:

changelog.d/6962.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed IRC-style message and commands support in Rich text editor

0 commit comments

Comments
 (0)