Joffrey JAFFEUX
92839dc722
FIX: ensures an empty last message won't cause errors ( #23647 )
...
This would cause an error when deleting the original message of a thread, due to the non existing `last_message`. This fix is implemented using the null pattern.
Note this commit is also using this opportunity to unify naming of null objects, `Chat::DeletedUser` becomes `Chat::NullUser`, it feels better to have a name describing what is the object, instead of a name describing why this object has to be used, which can change depending on cases.
2023-09-25 12:43:04 +02:00
..
2023-07-27 21:56:32 +04:00
2023-08-31 11:21:23 +02:00
2023-08-31 11:21:23 +02:00
2023-09-11 14:51:13 +02:00
2023-09-25 12:43:04 +02:00
2023-08-31 11:21:23 +02:00
2023-07-27 09:57:03 +02:00
2023-08-31 11:21:23 +02:00
2023-08-31 18:09:41 +02:00
2023-08-31 11:21:23 +02:00
2023-08-31 11:21:23 +02:00
2023-07-03 11:09:41 -03:00
2023-06-07 09:26:58 +08:00
2023-08-31 11:21:23 +02:00
2023-06-07 09:26:58 +08:00
2023-07-13 10:00:25 +02:00
2023-07-10 13:43:33 +02:00
2023-06-07 09:26:58 +08:00
2023-06-07 09:26:58 +08:00
2023-07-24 11:13:57 +02:00
2023-07-26 12:46:23 +02:00
2023-08-21 16:31:58 +02:00
2023-09-11 16:54:01 -03:00
2023-07-13 09:44:56 +10:00
2023-08-28 12:59:22 +08:00
2023-06-07 09:26:58 +08:00
2023-07-10 13:43:33 +02:00
2023-06-07 09:26:58 +08:00
2023-07-26 12:46:23 +02:00
2023-07-27 09:57:03 +02:00
2023-06-07 09:26:58 +08:00
2023-08-07 11:04:10 +10:00
2023-06-07 09:26:58 +08:00
2023-08-21 22:12:05 +02:00
2023-08-24 09:41:37 +02:00
2023-06-16 11:04:59 +10:00
2023-08-08 11:18:55 +10:00
2023-06-07 09:26:58 +08:00
2023-08-22 15:54:35 -05:00
2023-06-07 09:26:58 +08:00
2023-08-21 16:31:58 +02:00
2023-07-06 21:42:19 +02:00
2023-08-31 11:21:23 +02:00
2023-06-07 09:26:58 +08:00
2023-07-10 13:43:33 +02:00
2023-08-31 11:21:23 +02:00
2023-08-22 12:42:35 +02:00
2023-09-12 13:55:12 -04:00
2023-06-07 09:26:58 +08:00
2023-07-14 08:26:18 +02:00
2023-07-13 10:16:15 +02:00
2023-06-07 09:26:58 +08:00
2023-07-06 21:42:19 +02:00
2023-08-24 18:21:28 +02:00
2023-07-11 09:40:37 +08:00
2023-07-13 10:00:25 +02:00
2023-06-07 09:26:58 +08:00
2023-08-31 11:21:23 +02:00
2023-09-25 12:43:04 +02:00
2023-07-04 16:23:04 +10:00
2023-08-21 16:31:58 +02:00
2023-06-07 09:26:58 +08:00
2023-06-07 09:26:58 +08:00
2023-07-10 14:04:26 +02:00
2023-08-23 13:06:29 +02:00
2023-07-05 21:01:23 +02:00
2023-08-21 16:31:58 +02:00