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:
parent
96c71900a7
commit
6b37ca0e8d
|
@ -1338,7 +1338,8 @@ func (portal *Portal) HandleMessageRevokeSkype(user *User, message skype.Resourc
|
||||||
if message.GetFromMe(user.Conn.Conn) {
|
if message.GetFromMe(user.Conn.Conn) {
|
||||||
if portal.IsPrivateChat() {
|
if portal.IsPrivateChat() {
|
||||||
intent = portal.bridge.GetPuppetByJID(user.JID).CustomIntent()
|
intent = portal.bridge.GetPuppetByJID(user.JID).CustomIntent()
|
||||||
} else {
|
}
|
||||||
|
if intent == nil {
|
||||||
intent = portal.bridge.GetPuppetByJID(user.JID).IntentFor(portal)
|
intent = portal.bridge.GetPuppetByJID(user.JID).IntentFor(portal)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue