Commit f45264b0 authored by Jason Salyers's avatar Jason Salyers

Merge branch 'jsalyers-fix-notifications-call' into 'develop'

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

See merge request !171
parents 05bc7a73 470adb97
......@@ -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