In my case, it turned out to be a chrome extention called "Unseen for Facebook". I went into it's settings and changes it's access to only messenger.com, which solved the issue for me.
Locate the issue by trying to:
- Use another browser
- Disable all browser extentions
- Enable one extention at a time