mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-14 11:05:32 -04:00
chore(ui): Update a log message.
This patch changes the log message. A `TimelineItemPosition::UpdateAt` can only happen for remote event, not local event. The log message was talking about _decryption_ but an `UpdateAt` can also happen for redaction. This was misleading.
This commit is contained in:
@@ -1028,7 +1028,7 @@ impl<'a, 'o> TimelineEventHandler<'a, 'o> {
|
||||
.as_event()
|
||||
.and_then(|ev| Some(ev.as_remote()?.origin))
|
||||
.unwrap_or_else(|| {
|
||||
error!("Decryption retried on a local event");
|
||||
error!("Tried to update a local event");
|
||||
RemoteEventOrigin::Unknown
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user