diff options
| author | citrons <citrons@mondecitronne.com> | 2025-06-05 14:57:45 -0500 |
|---|---|---|
| committer | citrons <citrons@mondecitronne.com> | 2025-06-07 16:02:18 -0500 |
| commit | 4e46b6cad58b6a4f0e9235a267c817e239b42334 (patch) | |
| tree | c0da8bab94148ef26c3624477a4a26f4fdd3fed7 /server | |
| parent | cf78bc0515fa38a6cc570afd7a7e0000bdcda09e (diff) | |
automatically rejoin channels on reconnect
Diffstat (limited to 'server')
| -rw-r--r-- | server/user/user.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/user/user.go b/server/user/user.go index fa5f37b..4d1d936 100644 --- a/server/user/user.go +++ b/server/user/user.go @@ -104,6 +104,11 @@ func (u *User) GetInfo() proto.Object { if u.status != "" { i["status"] = u.status } + if u.Anonymous { + i["anonymous"] = "yes" + } else { + i["anonymous"] = "no" + } return proto.Object {"u", u.id, i} } |
