dendrite/clientapi/routing
Till d357615452
Don't send device list updates upon registration (#3307)
Fixes https://github.com/matrix-org/dendrite/issues/3273

As we otherwise send down device list updates which are merely useful
for the user and causes tests to be flakey:

```
 TestPushSync/Adding_a_push_rule_wakes_up_an_incremental_/sync (10ms)
      push_test.go:57: no pushrules found in sync response: {"next_batch":"s0_0_0_0_0_1_1_0_1","device_lists":{"changed":["@user-1:hs1"]}}
```

What this does: If a `PerformDeviceCreation` request is coming from
registering an account, it does **not** send device list updates, as
they are merely useful (no joined rooms, no one to inform) . In all
other cases, the behavior is unchanged and device list updates are sent
as usual.
2024-01-20 21:20:37 +01:00
..
account_data.go Cleanup remaining statekey usage for senderIDs (#3106) 2023-06-12 11:19:25 +00:00
admin.go feat: admin APIs for token authenticated registration (#3101) 2023-06-22 16:37:21 +00:00
admin_whois.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
aliases.go Cleanup remaining statekey usage for senderIDs (#3106) 2023-06-12 11:19:25 +00:00
auth_fallback.go Add clientapi tests (#2916) 2022-12-23 14:11:11 +01:00
auth_fallback_test.go Remove BaseDendrite (#3023) 2023-03-22 09:21:32 +01:00
capabilities.go Add config key for default room version (#3171) 2023-08-08 14:20:05 +01:00
createroom.go Add config key for default room version (#3171) 2023-08-08 14:20:05 +01:00
deactivate.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
device.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
directory.go Return M_INVALID_PARAM instead of M_BAD_JSON when setting aliases (#3297) 2024-01-09 20:05:45 +01:00
directory_public.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
directory_public_test.go refactor: use latest GMSL which splits fed client from matrix room logic (#3051) 2023-04-06 09:55:01 +01:00
joined_rooms.go [pseudoID] More pseudo ID fixes (#3167) 2023-08-15 12:37:04 +01:00
joinroom.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
joinroom_test.go Use IsBlacklistedOrBackingOff to determine if we should try to fetch devices (#3254) 2023-11-09 08:43:27 +01:00
key_backup.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
key_crosssigning.go Move json errors over to gmsl (#3080) 2023-05-09 22:46:49 +00:00
keys.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
leaveroom.go Cleanup remaining statekey usage for senderIDs (#3106) 2023-06-12 11:19:25 +00:00
login.go Appservice Login (2nd attempt) (#3078) 2023-11-24 22:34:13 +01:00
login_test.go Appservice Login (2nd attempt) (#3078) 2023-11-24 22:34:13 +01:00
logout.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
membership.go Allow users to kick themselves (#3157) 2023-11-22 12:15:45 +00:00
notification.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
openid.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
password.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
peekroom.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
presence.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
profile.go Fix state resets (#3231) 2023-10-23 15:17:21 +02:00
pusher.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
pushrules.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
receipt.go Appservice Login (2nd attempt) (#3078) 2023-11-24 22:34:13 +01:00
redaction.go Support for room version v11 (#3204) 2023-09-27 08:27:08 +02:00
register.go Don't send device list updates upon registration (#3307) 2024-01-20 21:20:37 +01:00
register_secret.go Handle DisplayName field in admin user registration endpoint (#2935) 2023-01-10 18:09:25 +00:00
register_secret_test.go Handle DisplayName field in admin user registration endpoint (#2935) 2023-01-10 18:09:25 +00:00
register_test.go Refactor registration tests, remove hard-coded username validation (#3138) 2023-11-22 12:15:16 +00:00
room_hierarchy.go de-MSC-ifying space summaries (MSC2946) (#3134) 2023-07-20 15:06:05 +01:00
room_tagging.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
routing.go Add configuration option for sliding sync when hosting /.well-known/matrix/client (#3189) 2023-08-24 21:08:40 +00:00
sendevent.go Appservice Login (2nd attempt) (#3078) 2023-11-24 22:34:13 +01:00
sendevent_test.go [pseudoIDs] More pseudo ID fixes - Part 2 (#3181) 2023-08-24 16:43:51 +01:00
sendtodevice.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
sendtyping.go Cleanup remaining statekey usage for senderIDs (#3106) 2023-06-12 11:19:25 +00:00
server_notices.go [pseudoID] More pseudo ID fixes (#3167) 2023-08-15 12:37:04 +01:00
server_notices_test.go Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
state.go Move pseudoID ClientEvent hotswapping to a common location (#3199) 2023-09-15 15:25:09 +00:00
state_test.go [pseudoIDs] More pseudo ID fixes - Part 2 (#3181) 2023-08-24 16:43:51 +01:00
thirdparty.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
threepid.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
upgrade_room.go Cleanup remaining statekey usage for senderIDs (#3106) 2023-06-12 11:19:25 +00:00
userdirectory.go Move fedclient interface over to gmsl (#3061) 2023-04-24 16:23:25 +00:00
voip.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
whoami.go Update /whoami response to match Spec v1.2 (#2201) 2022-02-18 11:28:02 +00:00