forked from chteufleur/go-xmpp4steam
Fix non reset tempo for pause in chatstate notification.
This commit is contained in:
parent
195063bc75
commit
1d0a907b29
|
|
@ -250,6 +250,8 @@ func (g *GatewayInfo) removeAllUserFromRoster() {
|
|||
func (g *GatewayInfo) SendXmppMessage(from, subject, message string) {
|
||||
g.sendXmppMessage(from, subject, message, &xmpp.Active{})
|
||||
g.ChatstateNotificationData <- from
|
||||
g.ChatstateNotificationData <- "stop"
|
||||
g.ChatstateNotificationData <- from
|
||||
g.ChatstateNotificationData <- "inactive"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue