Tests[SendWithPriority]

This commit is contained in:
2022-11-30 21:39:14 +01:00
parent a7df476e79
commit 1ca09c16d3
7 changed files with 172 additions and 4 deletions

View File

@@ -250,7 +250,7 @@ func (h MessageHandler) sendMessageInternal(g *gin.Context, ctx *logic.AppContex
sendTimestamp = langext.Ptr(timeext.UnixFloatSeconds(*SendTimestamp))
}
priority := langext.Coalesce(Priority, 1)
priority := langext.Coalesce(Priority, user.DefaultPriority())
clientIP := g.ClientIP()