Commit 470adb97 authored by Jason Salyers's avatar Jason Salyers

[JES] Don't add default observer onto calls for getting notifications. Most...

[JES] Don't add default observer onto calls for getting notifications. Most bridge calls want an observer, but this one doesn't
parent 05bc7a73
......@@ -26,7 +26,11 @@ export async function callBridge(method, params) {
delete params.observer;
}
if (params.observer === null || params.observer === undefined)
if (
method !== 'account_notifications' &&
method !== 'unread_notifications' &&
(params.observer === null || params.observer === undefined)
)
params.observer = $STM_Config.default_observer;
return new Promise(function(resolve, reject) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment