sentry: Switch to using Sentry spans for message send timings.

This commit is contained in:
Alex Vandiver
2023-05-02 22:01:10 +00:00
committed by Tim Abbott
parent 00ea197744
commit 3cc2adcd3b
9 changed files with 125 additions and 110 deletions

View File

@@ -230,13 +230,8 @@ export function send_message(request = create_message_object()) {
}
request.local_id = local_id;
sent_messages.start_tracking_message({
local_id,
locally_echoed,
});
request.locally_echoed = locally_echoed;
request.resend = false;
function success(data) {
send_message_success(local_id, data.id, locally_echoed);