* core: fix current user becoming incorrect after hiding or (un)muting inactive user profile * refactor test