Commit 48374d9746
Unsigned
Layout: unified · split
src/room_buffer.rs +1 −1
| @@ -228,7 +228,7 @@ impl RoomBuffer { | ||
| 228 | 228 | let buffer = self.weechat_buffer(); |
| 229 | 229 | let input = buffer.input(); |
| 230 | 230 | |
| 231 | if input.starts_with("/") && !input.starts_with("//") { | |
| 231 | if input.starts_with('/') && !input.starts_with("//") { | |
| 232 | 232 | // Don't send typing notices for commands. |
| 233 | 233 | return; |
| 234 | 234 | } |
src/server.rs +2 −3
| @@ -185,10 +185,9 @@ impl Connection { | ||
| 185 | 185 | None |
| 186 | 186 | }; |
| 187 | 187 | |
| 188 | let ret = client | |
| 188 | client | |
| 189 | 189 | .typing_notice(&room_id, &user_id, typing, timeout) |
| 190 | .await; | |
| 191 | ret | |
| 190 | .await | |
| 192 | 191 | }) |
| 193 | 192 | .await; |
| 194 | 193 | |