summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/state
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-02-03 17:38:19 +0200
committerKyren223 <Kyren223@proton.me>2025-02-03 17:38:19 +0200
commitad25655d5faef4bda65b1fa96f5ebba1b4067e01 (patch)
tree27423c979b2e0e4c06d885bca4a3a773d8d4a4fc /internal/client/ui/core/state
parentc0013eba3791c80c2d9d51c1fa5ac228242bd5c4 (diff)
Fixed first message of a user triggering the "new" line if there were no
new messages in the frequency/receiver
Diffstat (limited to 'internal/client/ui/core/state')
-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