filter generate & accueil channels
This commit is contained in:
parent
4522a2693b
commit
941cbba66d
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue