Commit 0c5b3017df

0c5b3017df55b4ebfbed5d07a0c4d76b6e3765f8

parent: 1ddc842c1c

Unregistered key

vaw <git@nlih.de> · 2026-09-22 17:14 UTC
committer: <noreply@github.com>

Show errors from the sendqueue to the user (#730)

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);