feat: include searchable account id tag
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user