filter generate & accueil channels

This commit is contained in:
Mickael 2019-08-26 18:50:02 +02:00
parent 4522a2693b
commit 941cbba66d

View file

@ -44,6 +44,7 @@ def main():
if messages["success"]:
nbMessages = len(messages["messages"])
messages_recent += nbMessages
if (channel["name"] != "general") and (channel["name"] != "accueil"):
channels_list.append((channel["name"], nbMessages))
users.extend(map(lambda message: message["u"]["_id"], messages["messages"]))
else: