1
0
Fork 0

Fix non reset tempo for pause in chatstate notification.

This commit is contained in:
Chteufleur 2016-10-30 09:16:52 +01:00
parent 195063bc75
commit 1d0a907b29
1 changed files with 2 additions and 0 deletions

View File

@ -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"
}