Commit 0c5b3017df
Unregistered key
Layout: unified · split
src/worker.rs +3 −2
| @@ -879,8 +879,9 @@ async fn subscribe_sendqueue_forever(client: &Client, store: &AsyncProgramStore) | |||
| 879 | *msg = new_content.into(); | 879 | *msg = new_content.into(); |
| 880 | }, | 880 | }, |
| 881 | 881 | ||
| 882 | RoomSendQueueUpdate::SendError { .. } => { | 882 | RoomSendQueueUpdate::SendError { error, .. } => { |
| 883 | // XXX: Show the error to the user | 883 | // XXX: Retry recoverable errors |
| 884 | locked.application.draw_error = Some(format!("Error sending message: {error}")); | ||
| 884 | }, | 885 | }, |
| 885 | RoomSendQueueUpdate::CancelledLocalEvent { transaction_id } => { | 886 | RoomSendQueueUpdate::CancelledLocalEvent { transaction_id } => { |
| 886 | info.echo_keys.remove(&transaction_id); | 887 | info.echo_keys.remove(&transaction_id); |