feat: Allow server admins to do timestamp massaging too

This commit is contained in:
timedout authored and Ellis Git committed 2026-10-06 02:34:10 +00:00
1 parent 63578eba8c
commit c1e4f926c8
1 file changed
+3 -1
+3 -1
View File
@@ -102,7 +102,9 @@ pub(crate) async fn send_message_event_route(
.flatten()
.map(sticky::object),
unsigned: Some(unsigned),
timestamp: if body.identity.is_appservice() {
timestamp: if body.identity.is_appservice()
|| services.admin.user_is_admin(sender_user).await
{
body.timestamp
} else {
None