feat: include searchable account id tag

This commit is contained in:
Shivam Mishra
2025-03-13 10:24:21 +05:30
parent aa50bf6afc
commit f5bb0d5167
@@ -218,7 +218,9 @@ export const mutations = {
// ignore out of order events
if (conversation.updated_at < selectedConversation.updated_at) {
Sentry.withScope(scope => {
scope.setTag('account_id', conversation.account_id);
scope.setTag('conversation_id', conversation.id);
scope.setContext('incoming', conversation);
scope.setContext('stored', selectedConversation);
scope.setContext('incoming_meta', conversation.meta);
@@ -233,7 +235,9 @@ export const mutations = {
// in case the timestamp is the same, we track it and let it update
if (conversation.updated_at === selectedConversation.updated_at) {
Sentry.withScope(scope => {
scope.setTag('account_id', conversation.account_id);
scope.setTag('conversation_id', conversation.id);
scope.setContext('incoming', conversation);
scope.setContext('stored', selectedConversation);
scope.setContext('incoming_meta', conversation.meta);