Files
cproof/src/xmpp
Jabber Developer e1ce7ac630
All checks were successful
CI / Check spelling (pull_request) Successful in 1m26s
CI / Check coding style (pull_request) Successful in 1m37s
CI / Linux (debian) (pull_request) Successful in 9m54s
CI / Linux (ubuntu) (pull_request) Successful in 10m11s
CI / Linux (fedora) (pull_request) Successful in 14m56s
CI / Linux (arch) (pull_request) Successful in 16m38s
CI / Check spelling (push) Successful in 15s
CI / Check coding style (push) Successful in 26s
CI / Linux (debian) (push) Successful in 9m49s
CI / Linux (ubuntu) (push) Successful in 10m1s
CI / Linux (fedora) (push) Successful in 12m59s
CI / Linux (arch) (push) Successful in 13m51s
fix(caps): Add features in caps_init to avoid redundant presence updates
Previously, features like `XMPP_FEATURE_OMEMO_DEVICELIST_NOTIFY` were
added in separate init methods (e.g., `omemo_devicelist_subscribe`) via
`caps_add_feature`, triggering `cl_ev_presence_send` and sending multiple
"online" XMPP presence stanzas. This caused other clients to see users
as appearing "online" multiple times.

This change adds `STANZA_NS_MOOD_NOTIFY` and
`XMPP_FEATURE_OMEMO_DEVICELIST_NOTIFY` in `caps_init`, ensuring they are
in `prof_features` early. This allows `caps_add_feature` to exit early
when called for these features, avoiding redundant presence updates.
2025-07-19 18:33:03 +02:00
..
2025-03-27 20:06:38 +01:00
2025-03-27 20:06:38 +01:00
2020-07-07 14:18:57 +02:00
2019-11-13 12:11:05 +01:00
2021-10-27 22:45:44 +02:00
2025-03-11 12:15:09 +01:00
2023-01-18 20:11:13 +01:00
2020-07-07 14:18:57 +02:00
2025-03-27 20:06:38 +01:00
2023-12-12 18:27:09 +01:00
2020-07-07 14:18:57 +02:00
2021-10-27 22:45:44 +02:00
2021-10-27 22:45:44 +02:00
2023-12-28 19:21:27 +01:00
2025-03-27 20:06:38 +01:00
2020-07-07 14:18:57 +02:00
2025-03-11 12:15:09 +01:00
2024-10-03 15:51:52 +02:00
2022-02-01 15:01:28 +01:00
2020-07-07 14:18:57 +02:00
2025-04-11 18:55:17 +02:00
2020-07-07 14:18:57 +02:00
2025-03-12 10:09:41 +01:00
2023-05-10 18:12:11 +02:00
2025-03-27 20:06:38 +01:00
2022-10-18 23:24:30 +01:00
2022-10-18 23:24:30 +01:00
2025-03-27 20:06:38 +01:00