summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/state/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/client/ui/core/state/state.go')
-rw-r--r--internal/client/ui/core/state/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/client/ui/core/state/state.go b/internal/client/ui/core/state/state.go
index b83d542..08b8c55 100644
--- a/internal/client/ui/core/state/state.go
+++ b/internal/client/ui/core/state/state.go
@@ -237,7 +237,7 @@ func UpdateTrusteds(info *packet.TrustInfo) {
}
}
-func GetLastReadMessage(id snowflake.ID) *snowflake.ID {
+func GetLastMessage(id snowflake.ID) *snowflake.ID {
btree := State.Messages[id]
if btree == nil {
return nil