Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mrDoctorWho/vk4xmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Smith <mrdoctorwho@helldev.net>2021-10-14 13:00:44 +0300
committerJohn Smith <mrdoctorwho@helldev.net>2021-10-14 13:00:44 +0300
commit7e0d3cffa4774f624ddcde934a98a1ce727beecd (patch)
tree5b74ec6ed9d0702308dac21e4ee72cafc8f8ad49
parentfcf43fd1dcbfdf1dfa96e1700ab8f70880db4da1 (diff)
Fix global message sending
-rw-r--r--modules/mod_iq_disco.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mod_iq_disco.py b/modules/mod_iq_disco.py
index 7993645..0d1226b 100644
--- a/modules/mod_iq_disco.py
+++ b/modules/mod_iq_disco.py
@@ -120,7 +120,7 @@ def sendGlobalMessage(body, subject, online):
else:
users = getUsersList()
for user in users:
- sendAnnouncement(user, body, subject)
+ sendAnnouncement(user[0], body, subject)
def checkAPIToken(token):