[Feat] Add invite/other events, bbcode flag, drop self-typing

This commit is contained in:
Drackrath 2026-11-07 16:05:39 +01:00
commit 2acc87d6f0
No known key found for this signature in database
5 changed files with 137 additions and 10 deletions

View file

@ -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