mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
kick group invite group update
This commit is contained in:
parent
5cd565306e
commit
17d8a124cd
@ -381,10 +381,7 @@ func GetConversation(OwnerUserID, conversationID string) (db.Conversation, error
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return conversation, err
|
return conversation, err
|
||||||
}
|
}
|
||||||
err = dbConn.Model(&db.Conversation{
|
err = dbConn.Table("conversations").Where("owner_user_id=? and conversation_id=?", OwnerUserID, conversationID).Take(&conversation).Error
|
||||||
OwnerUserID: OwnerUserID,
|
|
||||||
ConversationID: conversationID,
|
|
||||||
}).Take(&conversation).Error
|
|
||||||
return conversation, err
|
return conversation, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user