mirror of
https://codeberg.org/steam-vent/chat.git
synced 2026-11-30 12:40:52 +01:00
[Feat] Add invite/other events, bbcode flag, drop self-typing
This commit is contained in:
parent
c21ff738a8
commit
2acc87d6f0
5 changed files with 137 additions and 10 deletions
|
|
@ -18,6 +18,12 @@ upstream in these ways:
|
|||
3 has no default `SteamID` to fall back to.
|
||||
- Incoming messages are delivered. Upstream checks `local_echo()` on both arms,
|
||||
so it drops every message from a friend.
|
||||
- Typing notifications from your own other devices are dropped, so they no
|
||||
longer show up as the friend typing.
|
||||
- `send_message` sets `contains_bbcode`, as the official clients do.
|
||||
- Game invites arrive as `ChatEvent::GameInvite`. Every other entry type
|
||||
arrives as `ChatEvent::Other` with its raw value. `ChatEvent` is
|
||||
`#[non_exhaustive]`, so a `match` on it needs a wildcard arm.
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue