Zettat123
0ab22a1a02
fix incorrect role labels for migrated issues and comments ( #22914 )
...
Fix #22797 .
## Reason
If a comment was migrated from other platforms, this comment may have an
original author and its poster is always not the original author. When
the `roleDescriptor` func get the poster's role descriptor for a
comment, it does not check if the comment has an original author. So the
migrated comments' original authors might be marked as incorrect roles.
---------
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-15 12:29:13 -05:00
..
2023-02-11 14:34:11 +08:00
2022-11-27 18:20:29 +00:00
2022-12-09 14:35:56 +08:00
2023-02-15 21:37:34 +08:00
2023-01-16 16:00:22 +08:00
2022-12-10 10:46:31 +08:00
2023-02-15 21:37:34 +08:00
2023-02-13 14:09:52 +08:00
2023-01-09 11:50:54 +08:00
2022-11-27 18:20:29 +00:00
2022-12-10 10:46:31 +08:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2023-02-06 10:23:17 +08:00
2023-02-13 17:59:59 +00:00
2023-02-11 14:34:11 +08:00
2022-11-27 18:20:29 +00:00
2023-02-08 14:44:42 +08:00
2023-02-11 14:34:11 +08:00
2023-02-11 14:34:11 +08:00
2022-11-27 18:20:29 +00:00
2023-02-11 14:34:11 +08:00
2023-02-11 14:34:11 +08:00
2023-02-15 12:29:13 -05:00
2023-02-04 10:30:43 +08:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2022-12-10 10:46:31 +08:00
2022-12-29 00:31:54 +01:00
2022-12-10 10:46:31 +08:00
2022-11-27 18:20:29 +00:00
2023-02-11 16:12:41 +08:00
2023-02-11 14:34:11 +08:00
2023-02-06 12:09:18 -06:00
2022-11-27 18:20:29 +00:00
2023-02-11 14:34:11 +08:00
2022-11-27 18:20:29 +00:00
2023-02-11 14:34:11 +08:00
2023-01-31 09:45:19 +08:00
2023-02-11 14:34:11 +08:00
2023-02-01 22:56:10 +00:00
2023-02-01 20:53:04 +08:00
2023-02-13 14:09:52 +08:00
2022-11-27 18:20:29 +00:00
2023-02-01 22:56:10 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2023-02-15 21:37:34 +08:00
2023-02-15 21:37:34 +08:00
2022-11-27 18:20:29 +00:00
2023-01-09 11:50:54 +08:00