Skip to content

Commit

Permalink
Trying a fix for mentions with edge user agent so we can have video a…
Browse files Browse the repository at this point in the history
…nd mentions
  • Loading branch information
IsmaelMartinez committed Oct 29, 2018
1 parent 5c34e23 commit 3367c28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/lib/browser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
//change userAgent to chrome to fix the issue of notifications disapearing.
document.addEventListener(
'DOMContentLoaded',
navigator.__defineGetter__('userAgent', () => 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36')
navigator.__defineGetter__('userAgent', () => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/12.246')
);
})();
2 changes: 1 addition & 1 deletion app/lib/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function argv(configPath) {
userAgent: {
describe: 'HTTP User Agent',
type: 'string',
default: 'edge'
default: 'chrome'
},
edgeUserAgent: {
describe: 'Microsoft Edge User Agent',
Expand Down

0 comments on commit 3367c28

Please sign in to comment.