mark as read

This commit is contained in:
wangchuxiao
2023-06-02 16:38:15 +08:00
parent 0058cda6ee
commit b262103e48
5 changed files with 506 additions and 301 deletions
+4
View File
@@ -124,6 +124,10 @@ func (m *Message) RevokeMsg(c *gin.Context) {
a2r.Call(msg.MsgClient.RevokeMsg, m.client, c)
}
func (m *Message) MarkMsgsAsRead(c *gin.Context) {
a2r.Call(msg.MsgClient.MarkMsgsAsRead, m.client, c)
}
func (m *Message) ClearConversationsMsg(c *gin.Context) {
a2r.Call(msg.MsgClient.ClearConversationsMsg, m.client, c)
}