chore: refresh gramsrv public release
This commit is contained in:
parent
75cebe8dbf
commit
70b6820474
1274 changed files with 378751 additions and 59919 deletions
14
internal/store/postgres/channel_store_testkit_test.go
Normal file
14
internal/store/postgres/channel_store_testkit_test.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package postgres
|
||||
|
||||
import (
|
||||
"telesrv/internal/domain"
|
||||
)
|
||||
|
||||
func hasUnreadChannelReactionPG(reactions domain.ChannelMessageReactions) bool {
|
||||
for _, recent := range reactions.Recent {
|
||||
if recent.Unread {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue