sort inbox

This commit is contained in:
Ryan Stafford 2024-05-10 11:59:39 -04:00
parent 3bffe1cae1
commit 0689fcdf7c

View file

@ -478,6 +478,9 @@ func (state *State) GetMessages() {
})
}
}
sort.Slice(state.Activities, func(i, j int) bool {
return state.Activities[i].Timestamp.After(state.Activities[j].Timestamp.Time)
})
}
func (state *State) GetUser(username string) {