Martin Brennan
d379edec8d
FIX: Clientside checks for personal_message_enabled_groups ( #18691 )
...
The clientside allowPersonalMessages function introduced
in e62e93f83a sometimes did not
work correctly, because the currentUser.groups property
only contained **visible** groups for the current user, which
could exclude auto groups that had their permissions set to
be owner-only visible.
It was unnecessary to add this anyway since we already have
can_send_private_messages on the CurrentUserSerializer. It's
better the backend does this calculation anyway. Use that
in the clientside code instead and get rid of allowPersonalMessages
2022-10-21 14:38:33 +10:00
..
2022-10-12 13:38:42 -05:00
2022-10-05 13:57:52 +10:00
2022-10-21 14:38:33 +10:00
2022-10-21 14:38:33 +10:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-25 02:31:52 +02:00
2022-07-11 15:25:40 +01:00
2022-07-25 02:31:52 +02:00
2022-07-11 15:25:40 +01:00
2022-07-25 02:31:52 +02:00
2022-09-30 10:35:42 +08:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-25 02:31:52 +02:00
2022-07-17 20:15:28 +02:00
2022-08-30 05:37:03 +03:00
2022-08-12 15:24:20 -04:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-09-26 20:39:17 +02:00
2022-07-28 18:33:20 +04:00
2022-07-11 15:25:40 +01:00
2022-08-15 11:28:30 +02:00
2022-07-11 15:25:40 +01:00
2022-10-07 11:38:27 -04:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-17 20:15:28 +02:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-09-21 19:09:53 -03:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-25 02:31:52 +02:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-17 20:15:28 +02:00
2022-10-21 14:38:33 +10:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-24 19:55:58 +02:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-08-18 14:55:54 +04:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-07-11 15:25:40 +01:00
2022-08-05 16:54:54 +04:00
2022-07-11 15:25:40 +01:00
2022-08-05 16:53:28 +04:00
2022-10-08 02:21:53 +04:00
2022-07-11 15:25:40 +01:00
2022-09-27 14:47:13 -04:00
2022-07-27 06:53:01 +05:30