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) {
|
func (g *GatewayInfo) SendXmppMessage(from, subject, message string) {
|
||||||
g.sendXmppMessage(from, subject, message, &xmpp.Active{})
|
g.sendXmppMessage(from, subject, message, &xmpp.Active{})
|
||||||
g.ChatstateNotificationData <- from
|
g.ChatstateNotificationData <- from
|
||||||
|
g.ChatstateNotificationData <- "stop"
|
||||||
|
g.ChatstateNotificationData <- from
|
||||||
g.ChatstateNotificationData <- "inactive"
|
g.ChatstateNotificationData <- "inactive"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue