msnp-wiki/docs/commands/bye.md
yellows111 f38cb78dd8
all of switchboard except USR
USR is very big and would consider a break here

... Why does the spec imply that Switchboard has INF? Is that why every client implements it after MSNP8?
2024-10-14 21:13:21 +01:00

39 lines
742 B
Markdown

# Introduction
`BYE` is a command introduced with [MSNP2](../versions/msnp2.md).
It is a Switchboard Server command, without a response payload.
Used when a client leaves the current switchboard session.
# Client/Request
This client can not be sent from the client.
# Server/Response
`BYE user-handle {timeout}`
Where `user-handle` is the parting user's handle.
Where `timeout` is `1` if the server disconnected this user automatically. This parameter is optional.
# Examples
## User quit manually
```
S: BYE anotheruser@hotmail.com
```
## User timed out
```
S: BYE anotheruser@hotmail.com 1
```
## Invalid context
*Inherited from being an unimplemented command.*
```
C: BYE 1
```
Server disconnects client.
# Known changes
None.