open a direct message room in matrix client

This commit is contained in:
zhaoYangguang 2020-09-24 20:22:26 +08:00
parent 261ea31c75
commit d88251f145
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ func NewPortalKey(jid, receiver types.SkypeID) PortalKey {
if strings.HasSuffix(jid, skypeExt.GroupSuffix) {
receiver = jid
}
jid = strings.Replace(jid, skypeExt.NewUserSuffix, "", 1)
return PortalKey{
JID: jid,
Receiver: receiver,