fix the bug that in the 1-1 room show that message delete by someone, but actually is other one do

This commit is contained in:
zhaoYangguang 2021-01-20 19:31:25 +08:00
parent 96c71900a7
commit 6b37ca0e8d
1 changed files with 2 additions and 1 deletions

View File

@ -1338,7 +1338,8 @@ func (portal *Portal) HandleMessageRevokeSkype(user *User, message skype.Resourc
if message.GetFromMe(user.Conn.Conn) {
if portal.IsPrivateChat() {
intent = portal.bridge.GetPuppetByJID(user.JID).CustomIntent()
} else {
}
if intent == nil {
intent = portal.bridge.GetPuppetByJID(user.JID).IntentFor(portal)
}
}