forked from chteufleur/go-xmpp4steam
Send resource also for gateway JID
This commit is contained in:
parent
7368dce789
commit
844eddae4f
|
|
@ -153,7 +153,7 @@ func (g *GatewayInfo) SendXmppPresence(status, tpye, to, from, message, nick str
|
|||
}
|
||||
if from == "" {
|
||||
// TODO add an option to allow message comming directly from the gateway
|
||||
p.From = XmppJidComponent
|
||||
p.From = XmppJidComponent + "/" + resource
|
||||
} else {
|
||||
p.From = from + "/" + resource
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue