diff options
Diffstat (limited to 'xmpp/gateway/gateway.go')
-rw-r--r-- | xmpp/gateway/gateway.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmpp/gateway/gateway.go b/xmpp/gateway/gateway.go index eb46e48..a4f3aca 100644 --- a/xmpp/gateway/gateway.go +++ b/xmpp/gateway/gateway.go @@ -18,6 +18,10 @@ var Queue = make(map[string]*stanza.Presence) // Jid stores the component's JID object var Jid *stanza.Jid +// DirtySessions denotes that some Telegram session configurations +// were changed and need to be re-flushed to the YamlDB +var DirtySessions = false + // SendMessage creates and sends a message stanza func SendMessage(to string, from string, body string, component *xmpp.Component) { componentJid := Jid.Full() |