Add presence support
Adds function to set presence explicitly, query presence explicitly and to set presence explicitly on sync as well as receive presence updates.
Showing
- CMakeLists.txt 2 additions, 1 deletionCMakeLists.txt
- include/mtx/events.hpp 2 additions, 0 deletionsinclude/mtx/events.hpp
- include/mtx/events/collections.hpp 1 addition, 0 deletionsinclude/mtx/events/collections.hpp
- include/mtx/events/presence.hpp 48 additions, 0 deletionsinclude/mtx/events/presence.hpp
- include/mtx/responses/sync.hpp 2 additions, 1 deletioninclude/mtx/responses/sync.hpp
- include/mtxclient/http/client.hpp 11 additions, 0 deletionsinclude/mtxclient/http/client.hpp
- lib/http/client.cpp 30 additions, 0 deletionslib/http/client.cpp
- lib/structs/events.cpp 5 additions, 1 deletionlib/structs/events.cpp
- lib/structs/events/collections.cpp 1 addition, 0 deletionslib/structs/events/collections.cpp
- lib/structs/events/presence.cpp 68 additions, 0 deletionslib/structs/events/presence.cpp
- lib/structs/responses/common.cpp 8 additions, 4 deletionslib/structs/responses/common.cpp
- lib/structs/responses/sync.cpp 7 additions, 0 deletionslib/structs/responses/sync.cpp
- tests/client_api.cpp 114 additions, 1 deletiontests/client_api.cpp
- tests/events.cpp 26 additions, 0 deletionstests/events.cpp
Loading
Please register or sign in to comment