Commit 8fd65487 authored by JC Brand's avatar JC Brand

Use `safeSave` to avoid intermittent test failures

due to asynchronous events.
parent 876a07b3
...@@ -446,8 +446,8 @@ ...@@ -446,8 +446,8 @@
} }
}, },
clearUnreadMsgCounter() { clearUnreadMsgCounter () {
this.save({'num_unread': 0}); u.safeSave(this, {'num_unread': 0});
}, },
isScrolledUp () { isScrolledUp () {
......
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