# Users appear online when set to not appear

**URL:** <https://forum.heroiclabs.com/t/users-appear-online-when-set-to-not-appear/1561>\
**Category:** Game Design\
**Tags:** sdk-unity\
**Created:** [April 13, 2021, 11:44am UTC](https://forum.heroiclabs.com/t/users-appear-online-when-set-to-not-appear/1561 "2021-04-13T11:44:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nixarn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/nixarn/32/391_2.png) [@nixarn](https://forum.heroiclabs.com/u/nixarn)\
**Post date:** [April 13, 2021, 11:44am UTC](https://forum.heroiclabs.com/t/users-appear-online-when-set-to-not-appear/1561/1 "2021-04-13T11:44:45Z")

</div>

A quick question, when creating a socket with the unity client library, there’s the appearOnline-parameter. But not sure if it works, even when it’s set to false ListGroupUsersAsync still lists online users as online.

Am I missing something or could this be a bug?

---

<div class="post-metadata">

**Author:** ![zyro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/zyro/32/14_2.png) [@zyro](https://forum.heroiclabs.com/u/zyro)\
**Post date:** [April 13, 2021, 1:13pm UTC](https://forum.heroiclabs.com/t/users-appear-online-when-set-to-not-appear/1561/2 "2021-04-13T13:13:37Z")

</div>

Hi @nixarn! The `appearOnline` parameter controls whether or not the user has an [initial status when they connect](https://heroiclabs.com/docs/social-status/). This only reflects in the status API’s functions around following, unfollowing, and receiving realtime updates from followed users.

The user listing operations however observe [in-app notifications](https://heroiclabs.com/docs/social-in-app-notifications/) connectivity to determine if a user is online, so there’s currently no easy way to appear offline in those API responses.

Perhaps we should instead observe the same online status that’s used by the status API - can you open a feature request on the [Nakama repo](https://github.com/heroiclabs/nakama/issues) so we can track this? Until that’s addressed (or a decision is made to leave it as is) and part of a new server release, you can consider this expected behaviour.

---

<div class="post-metadata">

**Author:** ![nixarn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/nixarn/32/391_2.png) [@nixarn](https://forum.heroiclabs.com/u/nixarn)\
**Post date:** [April 13, 2021, 1:24pm UTC](https://forum.heroiclabs.com/t/users-appear-online-when-set-to-not-appear/1561/3 "2021-04-13T13:24:31Z")

</div>

Oh right, I see, that makes sense. We’re happy how it is, I was just a bit confused why the appearOnline didn’t change the online status. Thanks for the clarification!

---

<div class="post-metadata">

**Author:** ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)\
**Post date:** [April 14, 2021, 3:33pm UTC](https://forum.heroiclabs.com/t/users-appear-online-when-set-to-not-appear/1561/4 "2021-04-14T15:33:16Z")

</div>

@zyro I agree. I think the server should be switched to observe the status event API instead of the notification API for online presence in the friend listings and group membership listings. It is clearer and more semantically correct. It’s also a backwards compatible change. 👍

---

<div class="post-metadata">

**Author:** ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)\
**Post date:** [April 20, 2021, 8:39am UTC](https://forum.heroiclabs.com/t/users-appear-online-when-set-to-not-appear/1561/5 "2021-04-20T08:39:58Z")

</div>

@nixarn The change to use the user’s status presence rather than their notification presence to determine their online status to the friends and groups API was added as part of the 3.2.1 release: [Release v3.2.1 · heroiclabs/nakama · GitHub](https://github.com/heroiclabs/nakama/releases/v3.2.1) .
