mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 16:01:58 +00:00
sentry: Switch to using Sentry spans for message send timings.
This commit is contained in:
committed by
Tim Abbott
parent
00ea197744
commit
3cc2adcd3b
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user