From 1d0a907b2910ee60b8a1436a998b55f5f796c846 Mon Sep 17 00:00:00 2001 From: Chteufleur Date: Sun, 30 Oct 2016 09:16:52 +0100 Subject: [PATCH] Fix non reset tempo for pause in chatstate notification. --- gateway/xmpp.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gateway/xmpp.go b/gateway/xmpp.go index 28d87cb..13caee0 100644 --- a/gateway/xmpp.go +++ b/gateway/xmpp.go @@ -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" }