aboutsummaryrefslogtreecommitdiff
path: root/roomserver/state
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-05-21 14:40:13 +0100
committerGitHub <noreply@github.com>2020-05-21 14:40:13 +0100
commit24d8df664c21fa8bd68d80b5585a496e264c410a (patch)
tree0a176d6dfd7f81522c5739b53313366b552b0ce1 /roomserver/state
parent3fdb045116c9cd2f2a3badfebec0645d0381bacb (diff)
Fix #897 and shuffle directory around (#1054)
* Fix #897 and shuffle directory around * Update find-lint * goimports Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'roomserver/state')
-rw-r--r--roomserver/state/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/roomserver/state/state.go b/roomserver/state/state.go
index 9b005ee6..d5be4a90 100644
--- a/roomserver/state/state.go
+++ b/roomserver/state/state.go
@@ -567,7 +567,7 @@ func (v StateResolution) CalculateAndStoreStateAfterEvents(
// 3) None of the previous events were state events and they all
// have the same state, so this event has exactly the same state
// as the previous events.
- // This should be the common case.
+ // This should be the internal case.
metrics.algorithm = "no_change"
return metrics.stop(prevState.BeforeStateSnapshotNID, nil)
}